/* The client site's one stylesheet. Colours, type, spacing and radii follow
   design/Odjaa Components.dc.html. Movement is in the last part: it runs only
   when the script adds "rich" to the page (a phone and a connection that can
   take it) and never when the visitor asks for less motion. */

/* Manrope by The Manrope Project Authors, SIL Open Font License 1.1
   (fonts/manrope-OFL.txt), from @fontsource/manrope 5.3.0. */
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("fonts/manrope-5.3.0-600.woff2") format("woff2");
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("fonts/manrope-5.3.0-800.woff2") format("woff2");
}

:root {
	--ink: #111111;
	--paper: #fbf8f3;
	--sand: #f3eee6;
	--line: #ece5da;
	--hair: #f4f0ea;
	--edge: #8f887d;
	--field: #e6ded2;
	--text-2: #3f3b36;
	--hint: #6b655d;
	--accent: #f5b841;
	--accent-tint: #fef2d4;
	--accent-deep: #7a4f00;
	--clay-tint: #fde7dd;
	--clay-deep: #9e3f1c;
	--leaf: #7ccb9c;
	--leaf-tint: #e2f3e8;
	--leaf-deep: #1e6a41;
	--focus: #1f5577;
	--shadow: 0 1px 0 #e6ded2;
	--lift:
		0 1px 2px rgba(17, 17, 17, 0.07), 0 8px 22px -10px rgba(17, 17, 17, 0.2);
}

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

html {
	-webkit-text-size-adjust: 100%;
}

/* A column, so the bottom bar sits at the bottom of a short page. */
body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--paper);
	color: var(--ink);
	font:
		600 16px / 1.5 "Manrope",
		system-ui,
		sans-serif;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
dl,
dd {
	margin: 0;
}

ul {
	padding: 0;
	list-style: none;
}

a {
	color: inherit;
	text-decoration-color: var(--accent);
}

[hidden] {
	/* biome-ignore lint/complexity/noImportantStyles: an element the script hides must stay hidden whatever its other classes set. */
	display: none !important;
}

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
	border-radius: 8px;
}

::placeholder {
	color: var(--hint);
	opacity: 1;
}

h1 {
	font-size: 24px;
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

h2 {
	font-size: 20px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.icon {
	width: 20px;
	height: 20px;
	flex: none;
}

.muted,
.sub {
	color: var(--text-2);
	font-size: 14px;
	line-height: 1.45;
}

.label {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hint);
}

.label.rule {
	padding: 0 4px 8px;
	border-bottom: 2px solid var(--ink);
	color: var(--ink);
	margin-bottom: 8px;
}

.kicker {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	color: var(--accent-deep);
}

/* The page column: one hand-sized column, centred on a computer. */
.page {
	flex: 1 0 auto;
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	padding: 0 16px 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.home,
.site {
	max-width: 720px;
	gap: 28px;
	padding-bottom: 96px;
}

.stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.stack-tight {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* The bar at the top. */
.topbar {
	position: sticky;
	top: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	padding: 10px 16px;
	background: var(--paper);
}

/* The home page's bar, as wide as its page, with the salon's own places
   and the Book button on a computer. */
.topbar.wide {
	max-width: 1192px;
}

.menu,
.topbar .menu-book {
	display: none;
}

.menu-link {
	padding: 9px 12px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.menu-link.current {
	background: var(--accent-tint);
}

/* A phone's menu: a round button that opens a card of the salon's pages
   below it. */
.menu-phone {
	position: relative;
	flex: none;
}

.menu-phone > summary {
	list-style: none;
	cursor: pointer;
}

.menu-phone > summary::-webkit-details-marker {
	display: none;
}

.menu-sheet {
	position: absolute;
	top: 52px;
	right: 0;
	min-width: 200px;
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	box-shadow: 0 8px 28px rgba(17, 17, 17, 0.16);
}

/* Over a step's tinted header, the bar takes the same tint. */
.topbar.tinted {
	max-width: 560px;
	background: var(--accent-tint);
}

.topbar-home {
	display: inline-flex;
	text-decoration: none;
}

.topbar-name {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.topbar-name a {
	font-size: 15px;
	font-weight: 800;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.segments {
	display: flex;
	gap: 4px;
}

.segment {
	flex: 1;
	height: 4px;
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.13);
}

.segment.on {
	background: var(--ink);
}

.round {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	box-shadow: var(--shadow);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.round-wa {
	background: var(--leaf);
	box-shadow: none;
}

.pill {
	flex: none;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--line);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.tile {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--accent-tint);
	color: var(--accent-deep);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tile-name {
	border-radius: 50%;
	background: var(--accent);
	color: var(--ink);
	font-size: 15px;
	font-weight: 800;
}

.tile-big {
	width: 52px;
	height: 52px;
	border-radius: 17px;
	background: var(--accent);
	color: var(--ink);
	box-shadow:
		inset 0 -4px 0 rgba(17, 17, 17, 0.13),
		inset 0 2px 2px rgba(255, 255, 255, 0.4);
}

.tile-big .icon {
	width: 26px;
	height: 26px;
}

.avatar {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 800;
}

/* Buttons: ink for the main step, soft for the others. A salon's look may
   change the main one (below). */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 54px;
	padding: 0 22px;
	border: 0;
	border-radius: 18px;
	background: var(--btn, var(--ink));
	color: var(--btn-text, #fff);
	font: inherit;
	font-size: 15.5px;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.btn:disabled {
	background: #dcd3c5;
	color: var(--text-2);
	cursor: default;
}

.btn-block {
	width: 100%;
}

.btn-grow {
	flex: 1;
}

.btn-small {
	min-height: 44px;
	padding: 0 14px;
	border-radius: 12px;
	font-size: 13.5px;
}

.btn-soft {
	background: #fff;
	color: var(--ink);
	box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn-accent {
	background: var(--accent);
	color: var(--ink);
}

.btn-wa {
	background: var(--leaf);
	color: var(--ink);
}

.btn-danger {
	background: var(--clay-tint);
	color: var(--clay-deep);
}

.link {
	align-self: flex-start;
	padding: 10px 4px;
	border: 0;
	background: none;
	color: var(--text-2);
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	text-decoration: underline;
	text-decoration-color: var(--accent);
	cursor: pointer;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* Cards: white on paper, a soft line below, no border. */
.card {
	background: #fff;
	border-radius: 20px;
	box-shadow: var(--shadow);
}

.pad {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pad > .btn {
	align-self: flex-start;
}

.rows {
	overflow: hidden;
}

.row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	color: inherit;
	text-decoration: none;
}

.rows > li + li,
.rows > li + li > .row {
	border-top: 1px solid var(--hair);
}

.rows > li + li > .row {
	border-top: 0;
}

/* The setup's three photo tiles (design/Odjaa Onboarding.dc.html): the
   shop front wide on top, the work and the team side by side. An empty
   tile is a dashed slot that picks a photo. */
.photo-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.photo-tile {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.photo-tile.wide {
	grid-column: 1 / -1;
}

.tile-slot {
	position: relative;
	height: 130px;
	border-radius: 20px;
	overflow: hidden;
	background: #efeae1;
	border: 1.5px dashed #c9c1b4;
}

.wide .tile-slot {
	height: 170px;
}

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

.tile-slot:has(img) {
	border-style: solid;
	border-color: transparent;
}

.tile-pick {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px;
	text-align: center;
	font-weight: 700;
	color: var(--hint);
	cursor: pointer;
}

/* The file picker stays reachable by keyboard, out of sight. */
.tile-file {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.tile-pick:focus-within {
	outline: 3px solid var(--focus);
	outline-offset: -3px;
	border-radius: 20px;
}

.tile-note {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	margin: 0;
	padding: 6px 8px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.92);
	font-size: 13px;
}

.tile-remove {
	position: absolute;
	right: 8px;
	bottom: 8px;
}

.tile-label {
	font-size: 14px;
	font-weight: 800;
	padding-left: 4px;
}

/* A photo in the owner's list, as a small square. */
.thumb {
	flex: none;
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 12px;
	background: var(--sand);
}

.row-main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.row-main strong {
	font-size: 15px;
	font-weight: 800;
	line-height: 1.25;
}

.price {
	flex: none;
	font-size: 14px;
	font-weight: 800;
	white-space: nowrap;
}

.radio {
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1.8px solid var(--edge);
}

.pick:active {
	background: var(--sand);
}

/* A choice in a list, such as the kind of business when setting up. */
.row input[type="radio"] {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--ink);
}

/* A day in the opening hours: open or not, then its two times. On a phone
   the times wrap under the day; a day that is not ticked shows them faded. */
.day-hours {
	flex-wrap: wrap;
	row-gap: 8px;
}

.day-open {
	flex: 1 1 9em;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	cursor: pointer;
}

.day-open input {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--ink);
}

.day-times {
	display: flex;
	align-items: center;
	gap: 6px;
}

.day-hours:has(.day-open input:not(:checked)) .day-times {
	opacity: 0.45;
}

.day-times input {
	width: 8.6em;
	padding: 8px 6px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	border-radius: 10px;
	border: 1.5px solid var(--edge);
	background: #fff;
	color: var(--ink);
}

.group {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.group + .group {
	margin-top: 14px;
}

/* The salon's page (design/Odjaa Sites.dc.html). Its shop front photo is
   cropped to the design's tall shape, whatever the phone took, and the next
   free times sit over its foot. */
.hero-words {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.hero-side {
	align-self: stretch;
	display: flex;
	flex-direction: column;
}

.hero-photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 4.4;
	object-fit: cover;
	border-radius: 28px;
	background: var(--sand);
}

.slots {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px;
	box-shadow: var(--lift);
}

.hero-photo + .slots {
	position: relative;
	margin: -72px 12px 0;
}

.slot-rows {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.slot-row {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 12px;
	background: var(--paper);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.slot-who {
	font-weight: 700;
	color: var(--text-2);
}

/* The services in their sections, two side by side on a computer. */
.groups {
	display: grid;
	gap: 14px;
}

/* The team, each with a round photo or their initials. */
.team {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 12px;
}

.person {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 18px 12px;
	text-align: center;
}

.person-photo,
.person .tile-name {
	width: 112px;
	height: 112px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--accent-tint);
}

.person .tile-name {
	font-size: 32px;
}

/* The latest work, square, two across on a phone. */
.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
}

.gallery-photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 16px;
	background: var(--sand);
}

.hero {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	padding-top: 12px;
}

.hero h1 {
	font-size: clamp(34px, 9vw, 52px);
	line-height: 1;
	letter-spacing: -0.055em;
}

.lead {
	font-size: 16px;
	line-height: 1.55;
	color: var(--text-2);
	white-space: pre-line;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px 6px 9px;
	border-radius: 999px;
	background: var(--accent-tint);
	color: var(--ink);
	font-size: 13px;
	font-weight: 800;
}

.chip .icon {
	width: 16px;
	height: 16px;
	color: var(--accent-deep);
}

/* A salon's colour and look (the templates slice): the colour is the accent
   everywhere on its site; the look sets the top of the home page and the
   main buttons, as in design/Odjaa Onboarding.dc.html. The colours, with
   their deep and tint, are design/Odjaa Components.dc.html's. */
.colour-marigold {
	--accent: #f5b841;
	--accent-tint: #fef2d4;
	--accent-deep: #7a4f00;
}

.colour-clay {
	--accent: #f08a63;
	--accent-tint: #fde7dd;
	--accent-deep: #9e3f1c;
}

.colour-leaf {
	--accent: #7ccb9c;
	--accent-tint: #e2f3e8;
	--accent-deep: #1e6a41;
}

.colour-sky {
	--accent: #8fc3e6;
	--accent-tint: #e3f0f9;
	--accent-deep: #1f5577;
}

:is(.look-warm, .look-bold, .look-calm) .hero {
	padding: 24px 20px 28px;
	border-radius: 28px;
}

:is(.look-warm, .look-bold) .hero .lead {
	color: inherit;
}

.look-warm .hero {
	background: var(--accent);
}

.look-bold .hero {
	background: var(--ink);
	color: #fff;
}

/* The free times stay a white card with ink words on any look. */
.look-bold .slots {
	color: var(--ink);
}

.look-calm .hero {
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--line);
}

.look-bold,
.look-calm {
	--btn: var(--accent);
	--btn-text: var(--ink);
}

/* Choosing the look: tiles side by side, the chosen one outlined in ink.
   The warm tile shows the colour being chosen, where the browser can tell. */
.picks {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
}

.look-picks,
.colour-picks {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.colour-picks {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.look-pick {
	position: relative;
}

.look-pick input {
	position: absolute;
	opacity: 0;
}

.pick-face {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	padding: 10px 6px;
	border-radius: 16px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--line);
	font-size: 13px;
	cursor: pointer;
}

.look-pick input:checked + .pick-face {
	box-shadow: inset 0 0 0 2px var(--ink);
}

.look-pick input:focus-visible + .pick-face {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}

.look-swatch {
	width: 100%;
	height: 30px;
	border-radius: 9px;
	box-shadow: inset 0 0 0 1px var(--line);
}

.swatch-warm,
.colour-swatch {
	background: var(--accent);
}

.swatch-bold {
	background: var(--ink);
}

.swatch-calm {
	background: #fff;
}

.colour-swatch {
	width: 30px;
	height: 30px;
	border-radius: 50%;
}

.look-form:has([value="marigold"]:checked) {
	--accent: #f5b841;
}

.look-form:has([value="clay"]:checked) {
	--accent: #f08a63;
}

.look-form:has([value="leaf"]:checked) {
	--accent: #7ccb9c;
}

.look-form:has([value="sky"]:checked) {
	--accent: #8fc3e6;
}

.section {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.section > h2 {
	font-size: 28px;
	letter-spacing: -0.04em;
}

/* A page's head: the trail back to home, its title and its line. */
.page-head {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-top: 12px;
}

.trail {
	font-size: 13px;
	color: var(--text-2);
}

.trail a {
	text-decoration: none;
}

/* A service's name opens its page. */
.row-link {
	text-decoration: none;
}

.row-link:hover {
	text-decoration: underline;
	text-decoration-color: var(--accent);
}

.book-box h2 {
	font-size: 22px;
	letter-spacing: -0.03em;
}

/* A service's own page: its photo, then its price, words and facts. */
.detail {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.detail-photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 28px;
	background: var(--sand);
}

.detail-price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 12px;
}

.detail-price strong {
	font-size: 28px;
	letter-spacing: -0.03em;
}

.detail-text {
	white-space: pre-line;
}

.facts {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 6px 16px;
	font-size: 14px;
}

.facts > div {
	display: contents;
}

.facts dt {
	color: var(--text-2);
}

.facts dd {
	font-weight: 800;
}

/* Questions and answers: each question opens its answer. */
.faq-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.faq-item {
	padding: 0 16px;
}

.faq-item > summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 16px 0;
	font-weight: 800;
	list-style: none;
	cursor: pointer;
}

.faq-item > summary::-webkit-details-marker {
	display: none;
}

.faq-item > summary::after {
	content: "+";
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--sand);
}

.faq-item[open] > summary::after {
	content: "−";
	background: var(--accent);
}

.faq-item > p {
	padding-bottom: 16px;
}

/* A page that is not there. */
.lost {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 48px 0 24px;
}

.lost-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	font-weight: 700;
}

.with-icon {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.with-icon > .icon {
	margin-top: 2px;
}

.hours {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
}

.hours-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.hours-row dt {
	color: var(--text-2);
}

.hours-row dd {
	font-weight: 800;
	text-align: right;
}

/* Today's line, so a client sees at once whether the salon is open. */
.hours-row.today {
	margin: 0 -8px;
	padding: 4px 8px;
	border-radius: 8px;
	background: var(--accent-tint);
}

.footer {
	background: var(--ink);
	color: #fff;
	padding: 28px 16px 110px;
}

.footer-in {
	max-width: 720px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.footer-name {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 17px;
	font-weight: 800;
}

.footer-small {
	font-size: 13px;
	color: #d9d3c8;
}

/* The badge every free site carries. */
.badge {
	align-self: center;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--paper);
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--ink);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.footer .badge {
	align-self: flex-start;
}

/* The home page's footer: the salon, its pages, hours and contact. */
.footer-grid {
	display: grid;
	gap: 24px;
	align-items: start;
	max-width: 1160px;
}

.footer-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	font-size: 14px;
	color: #f3eee6;
}

.footer-col a:not(.btn) {
	color: #f3eee6;
	text-decoration: none;
	padding: 2px 0;
}

.footer-head {
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hint);
}

.footer-end {
	max-width: 1160px;
	margin-top: 28px;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

/* The O-eye (site/eye-mark.tsx): never recoloured, whatever the salon's
   accent. */
.badge-eye {
	width: 14px;
	height: 14px;
	flex: none;
	color: var(--ink);
}

/* Odjaa's wordmark on its sign-up pages: the eye is the O. */
.wordmark {
	display: inline-flex;
	align-items: baseline;
	font-weight: 800;
	font-size: 23px;
	line-height: 1;
	letter-spacing: -0.05em;
	color: var(--ink);
}

.wordmark-eye {
	width: 0.74em;
	height: 0.74em;
	margin-right: 0.02em;
	align-self: center;
	flex: none;
}

/* The bar at the bottom, within thumb reach. */
.bar {
	position: sticky;
	bottom: 0;
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	max-width: 560px;
	margin: 0 auto;
	padding: 12px 16px 10px;
	background: #fff;
	box-shadow: 0 -1px 0 var(--line);
}

.bar-home {
	position: fixed;
	left: 0;
	right: 0;
	flex-direction: row;
	align-items: center;
	max-width: none;
	background: var(--paper);
	box-shadow: none;
}

.bar-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	padding: 0 4px;
	font-size: 13px;
	color: var(--text-2);
}

.bar-total strong {
	color: var(--ink);
	font-size: 20px;
	letter-spacing: -0.02em;
}

@media (min-width: 760px) {
	.bar-home {
		display: none;
	}
	.menu-phone {
		display: none;
	}
	.home,
	.site {
		padding-bottom: 40px;
	}
	.footer {
		padding-bottom: 28px;
	}
	.menu {
		display: flex;
		gap: 2px;
		margin-left: auto;
	}
	.topbar .menu-book {
		display: inline-flex;
	}
	.footer-grid {
		grid-template-columns: 1.2fr 1fr 1fr 1fr;
	}
}

/* A computer's wider page: the words beside the shop front, the services
   in two columns. */
@media (min-width: 900px) {
	.home,
	.site {
		max-width: 1192px;
		gap: 56px;
	}
	/* Without a photo beside it, the card keeps a line short enough to read. */
	.detail:not(.detail-split) {
		max-width: 720px;
	}
	.detail-split {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
		gap: 48px;
	}
	.hero-split {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
		gap: 48px;
		padding-top: 32px;
	}
	.hero-split h1 {
		font-size: clamp(44px, 5.4vw, 68px);
	}
	:is(.look-warm, .look-bold, .look-calm) .hero-split {
		padding: 40px;
	}
	.groups {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 18px 32px;
		align-items: start;
	}
}

/* The booking steps. */
.hero-icon {
	margin: 0 -16px;
	padding: 6px 20px 22px;
	border-radius: 0 0 28px 28px;
	background: var(--accent-tint);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.hero-icon .tile-big {
	margin-bottom: 6px;
}

.hero-center {
	margin: 0 -16px;
	padding: 14px 20px 26px;
	border-radius: 0 0 28px 28px;
	background: var(--accent-tint);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
}

.ok-badge {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow:
		inset 0 -5px 0 rgba(17, 17, 17, 0.14),
		inset 0 3px 3px rgba(255, 255, 255, 0.45);
}

.ok-badge .icon {
	width: 38px;
	height: 38px;
	stroke-width: 2.6;
}

.days {
	display: flex;
	gap: 8px;
	margin: 0 -16px;
	padding: 2px 16px 4px;
	overflow-x: auto;
	scrollbar-width: none;
}

.day {
	flex: none;
	min-width: 64px;
	padding: 11px 10px;
	border-radius: 18px;
	background: #fff;
	box-shadow:
		var(--shadow),
		inset 0 0 0 1px var(--line);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	font-size: 12.5px;
	text-decoration: none;
}

.day strong {
	font-size: 20px;
	line-height: 1;
}

.day.on {
	background: var(--ink);
	color: #fff;
	box-shadow: none;
}

.times {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
}

.time {
	padding: 14px 4px;
	border-radius: 14px;
	background: #fff;
	box-shadow:
		var(--shadow),
		inset 0 0 0 1px var(--line);
	font-size: 14.5px;
	font-weight: 800;
	text-align: center;
	text-decoration: none;
}

.lines {
	padding: 2px 16px;
}

.line {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 0;
	font-size: 14px;
}

.line + .line {
	border-top: 1px solid var(--hair);
}

.line dt {
	color: var(--text-2);
}

.line dd {
	font-weight: 800;
	text-align: right;
}

.form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.field .label {
	padding: 0 4px;
}

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 15px 16px;
	border: 1.5px solid var(--edge);
	border-radius: 16px;
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-size: 16px;
	font-weight: 800;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--ink);
	outline: none;
}

/* Longer text the owner writes reads lighter, and can be made taller. */
.field textarea {
	font-weight: 600;
	resize: vertical;
}

.check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 12px 14px;
	font-size: 13.5px;
	line-height: 1.45;
	cursor: pointer;
}

.check input {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--ink);
}

.error {
	color: var(--clay-deep);
	font-size: 14px;
	font-weight: 800;
}

.ok {
	background: var(--leaf-tint);
	color: var(--leaf-deep);
	font-weight: 800;
}

.note-leaf {
	padding: 13px 14px;
	border-radius: 18px;
	background: var(--leaf-tint);
	color: var(--leaf-deep);
	font-size: 14px;
	line-height: 1.45;
}

.bot-check:empty {
	display: none;
}

/* The WhatsApp step. */
.on-whatsapp form[data-signin] {
	display: none;
}

.code {
	font-size: 34px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-align: center;
	padding: 10px 0;
}

.message {
	padding: 12px 14px;
	border-radius: 14px;
	background: var(--sand);
	font-size: 14px;
	overflow-wrap: anywhere;
}

.waiting {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
}

.spinner {
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 3px solid rgba(17, 17, 17, 0.12);
	border-top-color: var(--accent-deep);
}

/* My bookings. */
.booking-head {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.tag {
	flex: none;
	padding: 4px 9px;
	border-radius: 999px;
	background: #efebe4;
	color: var(--text-2);
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
}

/* A service the salon's own bookings show is its most booked. */
.tag-top {
	margin-left: 8px;
	background: var(--accent-tint);
	color: var(--accent-deep);
	vertical-align: 2px;
}

.tag-booked {
	background: var(--leaf-tint);
	color: var(--leaf-deep);
}

.tag-arrived {
	background: var(--accent-tint);
	color: var(--accent-deep);
}

.tag-in_chair {
	background: var(--ink);
	color: #fff;
}

.tag-no_show {
	background: var(--clay-tint);
	color: var(--clay-deep);
}

/* A deposit still to pay, being checked, or released (payments, PR 2). */
.tag-deposit-waiting,
.tag-deposit-sent {
	background: var(--accent-tint);
	color: var(--accent-deep);
}

/* The client's pay step: the wallets they can pick, then three numbered
   steps, the owner's number and the order code each with a copy button
   (design/Odjaa Pay to My Number.dc.html). */
.wallet-pick {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chip-pick {
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--ink);
	font-weight: 800;
	text-decoration: none;
}

.chip-pick.on {
	background: var(--ink);
	color: #fff;
	box-shadow: none;
}

/* A service's section: the salon's own sections to tap, under the box. */
.section-picks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: -4px;
}

.section-picks .chip-pick {
	border: 0;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.pay-steps {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 16px 16px 16px 40px;
}

.pay-step::marker {
	font-weight: 800;
}

.pay-step-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pay-big {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 14px;
	background: var(--sand);
}

.pay-big strong {
	font-size: 20px;
	letter-spacing: 0.04em;
	overflow-wrap: anywhere;
}

.ask {
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding: 12px;
	border-radius: 14px;
	background: var(--paper);
	font-size: 14px;
}

/* The Studio (phase 1, design/Odjaa Studio Phone.dc.html): the salon's
   page in its own look, each part under an Edit tag. Nothing in the
   preview can be pressed but the tags' links. */
.website-card {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 14px;
	color: var(--ink);
	text-decoration: none;
	box-shadow: 0 0 0 2px var(--ink);
}

.website-card strong {
	flex: 1;
	font-size: 18px;
}

.studio-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.studio-tabs a {
	padding: 8px 14px;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--ink);
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.studio-tabs a.on {
	background: var(--ink);
	color: #fff;
	box-shadow: none;
}

.studio-page {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 12px;
	border-radius: 22px;
	background: var(--paper);
	box-shadow: inset 0 0 0 1px var(--line);
}

/* Each part leaves a strip at its top for its Edit tag, so the tag never
   covers the salon's own words. */
.studio-part {
	position: relative;
	padding-top: 44px;
	border-radius: 18px;
}

.studio-view {
	pointer-events: none;
	user-select: none;
}

.studio-edit {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	padding: 8px;
	border-radius: 18px;
	outline: 2px dashed transparent;
	text-decoration: none;
}

.studio-edit:hover,
.studio-edit:focus-visible {
	outline-color: var(--ink);
}

.studio-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.studio-tag .icon {
	width: 15px;
	height: 15px;
}

/* While setting up, each part's tag says if going live still needs it. */
.studio-mark {
	margin-left: 2px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 12px;
}

.studio-mark-required {
	background: var(--clay-tint);
	color: var(--clay-deep);
}

.studio-mark-done {
	background: var(--leaf-tint);
	color: var(--leaf-deep);
}

.studio-mark-optional {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.studio-empty {
	border: 2px dashed var(--line);
	color: var(--text-2);
	text-align: center;
}

/* The salon team's back-office: a tab bar at the bottom, the next client,
   the day's takings and the booking rows. */
.office {
	padding-bottom: 96px;
}

.tabs {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 5;
	display: flex;
	justify-content: center;
	gap: 6px;
	padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
	background: #fff;
	box-shadow: 0 -1px 0 var(--line);
}

/* Each tab is an icon above its word. */
.tab {
	flex: 1;
	max-width: 180px;
	min-height: 52px;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	border-radius: 14px;
	font-size: 12.5px;
	font-weight: 800;
	text-decoration: none;
	color: var(--hint);
}

.tab.on {
	background: var(--ink);
	color: #fff;
}

.next {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	text-decoration: none;
}

.next-head {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	font-size: 20px;
}

.clock {
	flex: none;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.big {
	font-size: 26px;
	letter-spacing: -0.02em;
}

.week {
	display: flex;
	align-items: center;
	gap: 8px;
}

.week .days {
	flex: 1;
	margin: 0;
	padding: 2px 0 4px;
}

.gone {
	opacity: 0.55;
}

.office .stack-tight > .tag {
	align-self: flex-start;
}

/* "Something changed": stays at the top of the page until the person taps
   Refresh. */
.live-bar {
	position: sticky;
	top: 8px;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 8px 8px 16px;
	border-radius: 16px;
	background: var(--ink);
	color: #fff;
	font-weight: 800;
}

.live-bar .btn {
	min-height: 40px;
	padding: 0 16px;
}

/* With no connection, a row on Today opens its changes in a sheet from the
   bottom of the screen. */
.offline-panel {
	position: fixed;
	inset: 0;
	z-index: 10;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background: rgb(0 0 0 / 40%);
}

.offline-panel > .card {
	width: 100%;
	max-width: 560px;
	border-radius: 24px 24px 0 0;
	padding-bottom: calc(20px + env(safe-area-inset-bottom));
}

/* Numbered steps: a visit on the Help page, setting a key on the admin page. */
.help-steps {
	margin: 0;
	padding-left: 22px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/* The notification key on the admin page, shown once to be copied. */
.key-box {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--edge);
	border-radius: 16px;
	background: #fff;
	color: var(--ink);
	font:
		13px / 1.4 ui-monospace,
		monospace;
	word-break: break-all;
	resize: none;
}

/* On a laptop the tabs become a column on the left, and the top bar and the
   page share one wider column beside them. A phone keeps the layout above. */
@media (min-width: 900px) {
	.shell {
		flex: 1 0 auto;
		display: grid;
		grid-template-columns: 200px minmax(0, 760px);
		grid-template-rows: auto 1fr;
		grid-template-areas:
			"tabs top"
			"tabs main";
		justify-content: center;
		column-gap: 40px;
		width: 100%;
	}

	.shell > .topbar {
		grid-area: top;
		max-width: none;
		padding-left: 0;
		padding-right: 0;
	}

	.shell > .office {
		grid-area: main;
		max-width: none;
		margin: 0;
		padding: 0 0 40px;
	}

	.shell > .tabs {
		grid-area: tabs;
		position: sticky;
		top: 0;
		right: auto;
		bottom: auto;
		left: auto;
		align-self: start;
		height: 100vh;
		flex-direction: column;
		justify-content: flex-start;
		padding: 10px 16px 16px;
		background: transparent;
		box-shadow: 1px 0 0 var(--line);
	}

	.shell .tab {
		flex: none;
		max-width: none;
		min-height: 44px;
		flex-direction: row;
		justify-content: flex-start;
		gap: 10px;
		padding: 0 16px;
		font-size: 14px;
	}

	.shell .times {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

/* Movement, for the heavier layer only. */
@media (prefers-reduced-motion: no-preference) {
	.rich .btn,
	.rich .round,
	.rich .pill,
	.rich .day,
	.rich .time,
	.rich .row {
		transition: transform 0.12s ease-out;
	}
	.rich .btn:active,
	.rich .round:active,
	.rich .pill:active,
	.rich .day:active,
	.rich .time:active {
		transform: scale(0.97);
	}
	.rich .enter {
		animation: enter 0.26s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	}
	.rich .hero-center .ok-badge {
		animation: pop 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
	}
	.rich .spinner {
		animation: spin 0.9s linear infinite;
	}
}

@keyframes enter {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes pop {
	0% {
		transform: scale(0.3);
		opacity: 0;
	}
	60% {
		transform: scale(1.1);
		opacity: 1;
	}
	100% {
		transform: scale(1);
	}
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
