/*
 * Panopedia, the public site. Written from scratch for the redesign
 * (docs/REDESIGN.md, direction K). Nothing here comes from the old
 * stylesheets, and nothing in them is loaded beside it.
 *
 * Phone first. Widths grow at 600, 900 and 1200 px.
 *
 * Order: tokens, base, layout, components, sections, utilities.
 * A page's own styles go under its section, scoped to its own class.
 */

/* ---------------------------------------------------------------- tokens */

:root {
	--control: 48px;
	--navy: #0E1A2B;
	--deep: #0B1530;
	--indigo: #14275E;
	--blue: #3D58CE;
	--teal: #3DC1CE;
	--link: #2A47B8;
	--link-hover: #1C3290;
	--ink: #2E3B4E;
	--muted: #5B6B80;
	--soft: #B8C6D8;
	--line: #DCE3EE;
	--mist: #F6F8FB;
	--white: #FFFFFF;

	--grad: linear-gradient(110deg, var(--blue) 0%, var(--teal) 100%);
	/* The gradient under white words: the teal end deepened until white on it
	   reads (5:1 there, against 2.2:1 on the brand teal). Buttons, numbered
	   circles, initials. --grad stays for what carries no words: bars. */
	--teal-deep: #0E7C86;
	--grad-words: linear-gradient(110deg, var(--blue) 0%, var(--teal-deep) 100%);
	--grad-ink: linear-gradient(100deg, var(--navy) 0%, var(--blue) 55%, var(--teal) 100%);
	--grad-light: linear-gradient(100deg, #FFFFFF 0%, #BDF1F6 40%, var(--teal) 70%, #7C93F5 100%);
	--sky: radial-gradient(1100px 600px at 85% 15%, rgba(61, 193, 206, .32), rgba(61, 193, 206, 0) 60%), linear-gradient(135deg, var(--deep) 0%, var(--indigo) 60%, var(--blue) 125%);

	--f-head: Montserrat, system-ui, sans-serif;
	--f-body: Lato, system-ui, sans-serif;
	--f-num: Nunito, system-ui, sans-serif;

	--wrap: 1280px;
	--gutter: 16px;
	--section: 64px;
	--radius: 22px;
	--shadow: 0 1px 2px rgba(14, 26, 43, .06), 0 12px 30px rgba(14, 26, 43, .07);
}

@media (min-width: 600px) {
	:root { --gutter: 24px; --section: 80px; }
}

@media (min-width: 900px) {
	:root { --gutter: 32px; --section: 96px; }
}

/* ------------------------------------------------------------------ base */

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

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

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }

[hidden] { display: none !important; }

a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: color .2s ease, text-decoration-color .2s ease; }
a:hover { color: var(--link-hover); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

h1, h2, h3, h4 {
	margin: 0;
	font-family: var(--f-head);
	color: var(--navy);
	line-height: 1.1;
	text-wrap: balance;
}

p { margin: 0; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	background: var(--white);
	color: var(--navy);
	padding: 10px 16px;
	border-radius: 999px;
	font-family: var(--f-head);
	font-weight: 700;
}

.skip:focus { top: 16px; }

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.walk__pin { opacity: 1 !important; transform: translate(-50%, -50%) !important; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------- layout */

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #C3D0E2; }
.section--sky { background: var(--sky); color: var(--white); }

.stack { display: flex; flex-direction: column; gap: var(--stack-gap, 16px); }
.stack--tight { --stack-gap: 8px; }

.split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
}

.grid {
	display: grid;
	gap: var(--gap, 24px);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 260px)), 1fr));
}

/* ------------------------------------------------------------ typography */

.display {
	font-weight: 900;
	font-size: clamp(36px, 6.4vw, 88px);
	line-height: .96;
	letter-spacing: -.04em;
}

.title {
	font-weight: 900;
	font-size: clamp(30px, 4.4vw, 56px);
	line-height: 1;
	letter-spacing: -.035em;
	/* **The ink gradient by default** (6.67.1): seven of eight titles were
	   written without .ink-grad and came out plain navy. On a dark
	   background .light-grad, later in this file, replaces it. As wide as
	   its words, or a short title gets only the dark start of the
	   gradient and still looks plain. */
	width: fit-content;
	background: var(--grad-ink);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--navy);
}

.ink-grad {
	background: var(--grad-ink);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--navy);
}

.light-grad {
	background: var(--grad-light);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--white);
}

/* **Room for the tails of g, p and y** (6.67.3). Gradient words are
   painted only inside the heading's box, and with these tight line
   heights the box ends above the descenders of the last line, which came
   out cut off ("Side by side", "Glossary", "space"). The room is added
   below and taken back underneath, so the spacing round it is unchanged.
   **And to the right** (6.71.5): the tight letter spacing pulls the box's
   end inside the last letter, so the tail of a final y or the arm of an r
   ran past it and was cut ("Glossary"). A little room on the right, with no
   taking back: a left-aligned title does not care, and a centred one moves
   by a hair. */
.title, .ink-grad, .light-grad { padding-bottom: .14em; margin-bottom: -.14em; padding-right: .12em; }

.lead { font-size: 19px; line-height: 1.6; max-width: 640px; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.num { font-family: var(--f-num); font-weight: 800; }

/* ------------------------------------------------------------ components */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: var(--control);
	padding: 12px 22px;
	border: 2px solid transparent;
	border-radius: 999px;
	/* The gradient is drawn under the border too. Without this it repeats
	   there, and its far end shows as a thin stripe down each side. */
	background-origin: border-box;
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	position: relative;
	isolation: isolate;
	transition: box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease, filter .2s ease;
}

/*
 * Every button, everywhere, is one of these: primary (the one thing the page
 * is for), plain (everything else), danger (deletes or ends something), or
 * one of the three for dark backgrounds (light, dark, ghost). None of them
 * moves: hovering changes the colour, pressing dims it.
 */
.btn:active { filter: brightness(.92); transition-duration: .08s; }
.btn:disabled { opacity: .6; cursor: default; box-shadow: none; filter: none; }

/* A gradient cannot transition, so the primary button deepens through a
   dark layer that fades in over it. */
.btn--primary::after {
	content: "";
	position: absolute;
	inset: -2px;
	z-index: -1;
	border-radius: inherit;
	background: rgba(14, 26, 43, .16);
	opacity: 0;
	transition: opacity .2s ease;
}
.btn--primary:hover::after { opacity: 1; }

.btn--primary { background: var(--grad-words) border-box; color: var(--white); z-index: 0; }
.btn--primary:hover { color: var(--white); box-shadow: 0 6px 16px rgba(61, 88, 206, .28); }

.btn--plain { background: var(--white); border-color: #CBD5E3; color: var(--navy); }
.btn--plain:hover { color: var(--navy); background: #EEF3FE; border-color: #9FB0C8; }

.btn--danger { background: var(--white); border-color: #EBB3AD; color: #B42318; }
.btn--danger:hover, .btn--danger.is-sure { color: #B42318; background: #FDE7E7; border-color: #B42318; }
.btn--danger-solid { background: #B42318; color: var(--white); }
.btn--danger-solid:hover { color: var(--white); background: #912018; }

.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { color: var(--navy); background: #EEF3FE; box-shadow: 0 10px 24px rgba(8, 14, 28, .25); }

.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { color: var(--white); background: #1B2C45; box-shadow: 0 10px 24px rgba(14, 26, 43, .25); }

.btn--ghost { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn--ghost:hover { color: var(--white); background: rgba(255, 255, 255, .1); }

/*
 * **A "see more" link** (6.67.4): Every term, All guides, See them all.
 * Bold, no underline, with the icon set's chevron, which steps right on
 * hover. Underlined hyperlinks stay for links inside sentences, where the
 * line is what tells a link from the words round it. .more--light on a
 * dark background.
 */
.more { display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-head); font-weight: 700; color: var(--link); text-decoration: none; transition: color .2s ease; }
.more .ico { width: 18px; height: 18px; transition: transform .2s ease; }
.more:hover { color: var(--blue); }
.more:hover .ico { transform: translateX(3px); }
.more--light { color: var(--teal); }
.more--light:hover { color: var(--white); }

.card {
	background: var(--white);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 12px;
}

/* -------------------------------------------------------------- the nav */

.nav {
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 16px;
	padding-top: 18px;
	padding-bottom: 18px;
	color: var(--white);
}

.nav__logo img { height: 26px; width: auto; }

.nav__links {
	display: none;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 15px;
}

.nav__links a { color: var(--white); text-decoration: none; transition: color .2s ease; }
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--teal); }

.nav__end { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.nav__login {
	font-family: var(--f-head);
	font-weight: 600;
	font-size: 15px;
	color: var(--white);
	text-decoration: none;
}

.nav__login { transition: color .2s ease; }
.nav__login:hover { color: var(--teal); }

.nav__login-icon { display: inline-flex; }
.nav__login-word { display: none; }

.nav .btn { min-height: 42px; padding: 9px 18px; font-size: 15px; }

.nav__menu {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: var(--white);
	cursor: pointer;
	transition: background-color .2s ease;
}

.nav__menu:hover { background: rgba(255, 255, 255, .22); }

.avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--teal);
	color: var(--navy);
	border: 2px solid rgba(0, 0, 0, .5);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
	font-family: var(--f-head);
	font-weight: 800;
	font-size: 15px;
	text-decoration: none;
	overflow: hidden;
}

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

.drawer {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: flex;
	flex-direction: column;
	gap: 28px;
	background: var(--deep);
	color: var(--white);
	padding: 18px var(--gutter) 32px;
	overflow-y: auto;
	visibility: hidden;
	opacity: 0;
	transform: translateX(24px);
	transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}

.drawer.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s; }

.drawer__top { display: flex; align-items: center; justify-content: space-between; }
.drawer__top img { height: 26px; width: auto; }

.drawer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }

.drawer li a {
	display: block;
	padding: 14px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	color: var(--white);
	text-decoration: none;
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 22px;
	transition: color .2s ease, padding-left .2s ease;
}

.drawer li a:hover { color: var(--teal); padding-left: 6px; }

.drawer .btn { width: 100%; }

@media (min-width: 600px) {
	.nav__login-icon { display: none; }
	.nav__login-word { display: inline; }
}

@media (min-width: 1000px) {
	.nav { gap: 28px; }
	.nav__logo img { height: 30px; }
	.nav__links { display: flex; }
	.nav__menu { display: none; }
}

/* ---------------------------------------------------------- page header */

.page-head { background: var(--sky); color: var(--white); }
.page-head__body { padding-top: 24px; padding-bottom: 56px; }
.page-head h1 { font-size: clamp(40px, 7vw, 64px); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.page-head__body > p,
.page-head__body > .split > div > p { margin-top: 14px; max-width: 600px; font-size: 18px; color: #D6E2F5; }

/* --------------------------------------------------------------- footer */

.footer { background: var(--navy); color: var(--soft); font-size: 15px; }

.footer__cols {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	padding-top: 56px;
	padding-bottom: 28px;
}

.footer__cols img { height: 26px; width: auto; margin-bottom: 10px; }
.footer h2 { font-size: 15px; color: var(--white); margin-bottom: 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: var(--soft); text-decoration: none; }
.footer a:hover { color: var(--white); }
.footer__legal { padding-bottom: 28px; font-size: 13px; color: #7F90A8; }

/* ================================================================ home */

/* The room: a real 360 photo, dragged left and right, a different one each visit. */

/* A column: the nav, the hint in whatever space is left, then the words.
   The hint used to sit at a fixed 38% down, which on a phone landed on the
   heading (12 November 2026); in the column it cannot meet it. The room is
   the screen's height, 640 to 860 pixels, and grows when the words need it. */
.room {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: clamp(640px, 100svh, 860px);
	overflow: hidden;
	color: var(--white);
	background-color: var(--deep);
	/* The flat picture of whichever photo the page chose (--room, set inline). */
	background-image: var(--room);
	background-image: image-set(var(--room-webp) type("image/webp"), var(--room) type("image/jpeg"));
	background-repeat: repeat-x;
	background-size: auto 100%;
	background-position: 0 50%;
	touch-action: pan-y;
	user-select: none;
	cursor: grab;
}

/* Drawn as a room: never the flat photo first (6.67.1) */
.room.has-gl { background-image: none; }
.room.is-dragging { cursor: grabbing; }

/* The 360 view, over the flat picture once its photo has loaded. */
.room__view { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s ease; }
.room.is-live .room__view { opacity: 1; }
.room > .nav { position: relative; z-index: 2; }
.room__hint, .room__text, .ruler { z-index: 2; }

.room::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(10, 20, 40, .6) 0%, rgba(10, 20, 40, 0) 24%, rgba(10, 20, 40, 0) 42%, rgba(10, 20, 40, .92) 100%);
}

.room__hint {
	position: relative;
	align-self: center;
	margin: auto 0;
	top: 12px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 20px;
	border: 2px solid var(--teal);
	border-radius: 999px;
	background: rgba(10, 20, 40, .55);
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 16px;
	white-space: nowrap;
	pointer-events: none;
	transition: opacity .5s ease;
}

.room.has-moved .room__hint { opacity: 0; }

.room__text {
	position: relative;
	margin-top: 24px;
	margin-bottom: 80px;
	pointer-events: none;
}

.room__text .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 40px; }

.room h1 {
	flex: 1 1 620px;
	font-weight: 900;
	font-size: clamp(48px, 9vw, 120px);
	line-height: .93;
	letter-spacing: -.045em;
}

.room__side { flex: 0 1 380px; display: flex; flex-direction: column; gap: 18px; pointer-events: auto; }
.room__side p { font-size: 18px; color: #E3ECF5; }
.room__side .buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.ruler {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 52px;
	overflow: hidden;
	background: rgba(10, 20, 40, .72);
	border-top: 1px solid rgba(255, 255, 255, .18);
	pointer-events: none;
}

.ruler__strip {
	position: absolute;
	left: 0;
	top: 0;
	height: 52px;
	display: flex;
	will-change: transform;
}

.ruler__tile {
	position: relative;
	flex: none;
	height: 12px;
	background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 1px, transparent 1px 20.5px);
}

.ruler__tile span {
	position: absolute;
	top: 18px;
	transform: translateX(-50%);
	font-family: var(--f-num);
	font-weight: 600;
	font-size: 12px;
	color: rgba(255, 255, 255, .6);
}

.ruler__tile span.is-cardinal { font-weight: 800; font-size: 15px; color: var(--white); }

.ruler::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 10px solid var(--teal);
}

/* Trusted by */

.trusted { background: var(--navy); color: var(--white); }
.trusted .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-top: 22px; padding-bottom: 22px; }
.trusted p { font-family: var(--f-head); font-weight: 700; }
.trusted .num { font-size: 22px; color: var(--teal); }

.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; list-style: none; margin: 0; padding: 0; }

.logos img { display: block; width: auto; opacity: .8; }

/* One photo holds the whole room */

.lens-intro { text-align: center; align-items: center; }

/*
 * A strip of a 360 photo, as flat and bent as the camera saves it, with a
 * magnifying glass drifting over it. Inside the glass is the part of the
 * photo under it, straightened, drawn live by site.js: the bend comes out of
 * whatever it passes over. It can be dragged. Without WebGL the glass stands
 * still in the middle with the photo in it.
 */
.lens {
	--d: 300px;
	--flat-top: 60px;
	--flat-h: 260px;
	position: relative;
	height: 400px;
	margin-top: 40px;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
	cursor: grab;
}

.lens.is-dragging { cursor: grabbing; }
.lens__caption { position: absolute; left: var(--gutter); top: 0; font-size: 14px; color: var(--muted); }

.lens__flat {
	position: absolute;
	left: 0;
	right: 0;
	top: var(--flat-top);
	height: var(--flat-h);
	background: url(../img/lens-flat-2048.jpg) center / cover;
	background-image: image-set(url(../img/lens-flat-2048.webp) type("image/webp"), url(../img/lens-flat-2048.jpg) type("image/jpeg"));
	filter: saturate(.8);
}

/* Centred on the strip, top to bottom. */
.lens__glass {
	position: absolute;
	left: 0;
	top: calc(var(--flat-top) + var(--flat-h) / 2 - var(--d) / 2);
	width: var(--d);
	will-change: transform;
}

.lens:not(.has-gl) .lens__glass { left: 50%; margin-left: calc(var(--d) / -2); }

.lens__inside {
	display: block;
	width: var(--d);
	height: var(--d);
	border-radius: 50%;
	background: url(../img/lens-flat-2048.jpg) 40% 50% / auto 100%;
	background-image: image-set(url(../img/lens-flat-2048.webp) type("image/webp"), url(../img/lens-flat-2048.jpg) type("image/jpeg"));
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .95), 0 0 0 7px rgba(61, 193, 206, .55), 0 30px 70px rgba(14, 26, 43, .45);
}

/* The glass itself: a bevel at the rim and a soft highlight, laid over the
   picture (a canvas paints over its own inset shadows). */
.lens__glass::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: var(--d);
	height: var(--d);
	border-radius: 50%;
	pointer-events: none;
	background: radial-gradient(circle at 32% 22%, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0) 40%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), inset 0 -22px 44px rgba(10, 20, 40, .25), inset 0 14px 26px rgba(255, 255, 255, .18);
}

.lens__glass p { width: max-content; margin: 16px auto 0; padding: 4px 12px; border-radius: 999px; background: var(--white); font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--navy); box-shadow: 0 4px 14px rgba(14, 26, 43, .1); }

@media (min-width: 900px) {
	.lens { --d: 420px; --flat-top: 70px; --flat-h: 320px; height: 500px; }
}

.steps { --min: 240px; --gap: 32px; margin-top: 40px; }
.steps > div { border-top: 2px solid var(--navy); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.steps .num { color: var(--link); }
.steps h3 { font-weight: 800; font-size: 26px; }

/* Then walk the whole place */

.walk { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

.walk__view {
	flex: 3 1 520px;
	position: relative;
	min-height: 360px;
	border-radius: var(--radius);
	overflow: hidden;
	/* A view into the demo home's dining room, rendered from its 360 photo */
	background: url(../img/walk-dining-wide.jpg) center / cover;
	background-image: image-set(url(../img/walk-dining-wide.webp) type("image/webp"), url(../img/walk-dining-wide.jpg) type("image/jpeg"));
}

.walk__view .tag {
	position: absolute;
	left: 18px;
	top: 18px;
	padding: 8px 14px;
	border: 2px solid var(--teal);
	border-radius: 999px;
	background: rgba(11, 21, 48, .65);
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 14px;
}

.walk__view .btn { position: absolute; left: 18px; bottom: 18px; }

.walk__plan {
	flex: 2 1 340px;
	min-width: 0;
	margin: 0;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: var(--radius);
	background: rgba(11, 21, 48, .45);
}

.walk__plan-area { position: relative; width: 100%; aspect-ratio: 4 / 3; }
.walk__plan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.walk__plan figcaption { margin-top: 10px; font-size: 14px; color: #AFC0DA; }

.walk__route { stroke-dasharray: 6 8; }
/* **Room, leg, room** (6.66.1): each circle pops in .75s after the last,
   and the leg to it draws in the half second before. A leg is a solid
   line in the route's mask, one unit long (pathLength), drawn by its
   dash offset going from 1 to 0. Hidden until seen; shown whole where
   motion is turned off, as then the animations never run. */
.walk__draw { fill: none; stroke: #FFFFFF; stroke-width: 12; stroke-dasharray: 1; stroke-dashoffset: 0; }
.walk:not(.is-seen) .walk__draw { stroke-dashoffset: 1; }
.is-seen .walk__draw { animation: route-leg .5s ease-in-out both; }
.is-seen .walk__draw:nth-child(1) { animation-delay: .55s; }
.is-seen .walk__draw:nth-child(2) { animation-delay: 1.3s; }
.is-seen .walk__draw:nth-child(3) { animation-delay: 2.05s; }
.is-seen .walk__draw:nth-child(4) { animation-delay: 2.8s; }
@media (prefers-reduced-motion: reduce) { .walk .walk__draw { stroke-dashoffset: 0 !important; } }

.walk__pin {
	position: absolute;
	transform: translate(-50%, -50%) scale(.4);
	opacity: 0;
}

.walk__pin img {
	width: var(--size, 52px);
	height: var(--size, 52px);
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--white);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.walk__pin.is-here img { border-color: var(--teal); }
.is-seen .walk__pin { animation: pin-pop .35s cubic-bezier(.2, .8, .2, 1.2) both; }

@keyframes route-leg { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pin-pop { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); } 70% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* Features */

.features { --min: 240px; --gap: 0 48px; margin-top: 40px; }
.features > div { border-top: 1px solid var(--line); padding: 22px 0; display: flex; flex-direction: column; gap: 6px; }
.features h3 { font-weight: 800; font-size: 19px; }

/* Who it is for */

.worlds { --min: 200px; --gap: 32px 20px; margin-top: 40px; }
.worlds > div { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.worlds img { width: 140px; height: 140px; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .4)); animation: spin 90s linear infinite; }
.worlds h3 { color: var(--white); font-weight: 800; font-size: 17px; }
.worlds p { font-size: 14px; line-height: 1.5; }

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

/* Made with Panopedia */

.made { --min: 220px; --gap: 16px; margin-top: 28px; }

.made a {
	position: relative;
	display: block;
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
	background: var(--navy);
}

.made img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .4s ease; }
.made a:hover img { transform: scale(1.04); }

.made a > span {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 18px;
	background: linear-gradient(rgba(11, 21, 48, 0), rgba(11, 21, 48, .88));
	color: var(--white);
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.made strong { font-family: var(--f-head); }
.made small { font-size: 14px; color: #C9D6EC; }

/* The app */

.app { --min: 300px; --gap: 56px; align-items: center; }

/* Three screens of the application, the list in front (6.65.5) */
.app-stack { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1 / 1.2; margin: 0 auto; }
.app-stack img { position: absolute; height: auto; border: 6px solid var(--navy); border-radius: 30px; background: var(--navy); box-shadow: 0 24px 48px rgba(14, 26, 43, .22); }
.app-stack__front { z-index: 2; width: 52%; left: 24%; top: 0; }
.app-stack__side { z-index: 1; width: 43%; top: 8%; }
.app-stack__side--left { left: 0; }
.app-stack__side--right { right: 0; }

/* Quotes */

.quotes { --min: 280px; --gap: 40px; }
.quotes figure { margin: 0; border-top: 3px solid var(--teal); padding-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.quotes blockquote { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: 20px; line-height: 1.45; color: var(--navy); }

/* Plans, shared with the plans page */

.plans { --min: 220px; --gap: 14px; margin-top: 32px; }

.plan {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
	border-radius: 24px;
	background: rgba(255, 255, 255, .1);
	color: var(--white);
}

.plan--star { background: var(--white); color: var(--navy); }
.plan.plan--star h3 { color: var(--navy); } /* above .plan h3 in weight, which came after it and won (6.66.1) */
.plan h3 { font-weight: 800; font-size: 20px; color: var(--white); }
.plan__head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.plan__tag { font-family: var(--f-head); font-weight: 700; font-size: 13px; }
.plan__price { font-family: var(--f-num); font-weight: 800; font-size: 50px; line-height: 1; }
.plan__price small { font-size: 16px; font-weight: 700; }
.plan__what { flex: 1 1 auto; line-height: 1.55; }
.plan .btn { width: 100%; }

/* Questions and guides */

.qa { --min: 320px; --gap: 56px; }

.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--f-head); font-weight: 700; font-size: 17px; color: var(--navy); list-style: none; display: block; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary { transition: color .2s ease; }
.faq summary:hover { color: var(--link); }
/* A plus that turns into a minus: the upright bar turns flat. */
.faq summary { position: relative; padding-right: 32px; }
.faq summary::before,
.faq summary::after {
	content: "";
	position: absolute;
	right: 4px;
	top: .7em;
	width: 14px;
	height: 2px;
	border-radius: 2px;
	background: var(--link);
	transition: transform .25s ease;
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open]:not([data-closing="1"]) summary::before { transform: rotate(0deg); }
.faq details p { margin-top: 10px; }

.guide-link {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 12px;
	border-radius: 16px;
	background: var(--mist);
	color: var(--navy);
	text-decoration: none;
}

.guide-link:hover { background: #EDF2F9; color: var(--navy); }
.guide-link img { width: 110px; height: 76px; border-radius: 12px; object-fit: cover; flex: none; }
.guide-link strong { font-family: var(--f-head); }
.guide-link small { display: block; font-size: 14px; color: var(--muted); }

/* Step inside */

.inside { padding-top: 24px; }

.inside h2 {
	margin-left: -.04em;
	font-weight: 900;
	font-size: clamp(76px, 18vw, 264px);
	line-height: .84;
	letter-spacing: -.055em;
	color: var(--blue);
	background-image: linear-gradient(100deg, rgba(61, 88, 206, .55), rgba(61, 193, 206, .25)), url(../img/room-2048.jpg);
	background-size: 100% 100%, 1600px 800px;
	background-repeat: no-repeat, repeat-x;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: type-pan 50s linear infinite;
}

@keyframes type-pan { from { background-position: 0 0, 0 50%; } to { background-position: 0 0, -1600px 50%; } }

.inside__end {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 2px solid var(--navy);
}

.inside__end p { flex: 1 1 320px; font-family: var(--f-head); font-weight: 700; font-size: 22px; color: var(--navy); }

/* -------------------------------------------------------------- cookies */

.cookies {
	position: fixed;
	left: var(--gutter);
	right: var(--gutter);
	bottom: var(--gutter);
	z-index: 40;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	max-width: 720px;
	margin: 0 auto;
	padding: 16px 20px;
	border-radius: 18px;
	background: var(--navy);
	color: #D6E2F5;
	font-size: 14px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}

.cookies p { flex: 1 1 320px; }
.cookies a { color: var(--white); }
.cookies .btn { min-height: 40px; padding: 8px 20px; }
.cookies__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.cookies .btn--ghost { background: transparent; border: 1px solid rgba(255, 255, 255, .6); color: var(--white); }
.cookies .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: var(--white); }

/* ---------------------------------------------------------------- forms */

.fields { display: grid; gap: 14px; }
.fields--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.field { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; font-weight: 700; font-size: 14px; color: var(--navy); }
.field legend { padding: 0; margin-bottom: 6px; }

.field input,
.field textarea,
.field select,
.search input {
	width: 100%;
	height: var(--control);
	padding: 0 14px;
	line-height: 1.25;
	border: 1px solid #D6DEEA;
	border-radius: 14px;
	background: var(--white);
	color: var(--navy);
	font: inherit;
	font-weight: 400;
	font-size: 16px;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.field input:hover:not(:disabled):not(:focus),
.field textarea:hover:not(:disabled):not(:focus),
.field select:hover:not(:disabled):not(:focus),
.search input:hover:not(:focus) { border-color: #B9C6DA; }

.field textarea { height: auto; min-height: calc(var(--control) * 2.5); padding: 12px 14px; line-height: 1.5; resize: vertical; }

/* Every select draws its own arrow, so it is the same height and shape as the
   inputs beside it in every browser. */
.field select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230E1A2B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	cursor: pointer;
}

.field input[type="checkbox"],
.field input[type="radio"] { width: auto; height: auto; padding: 0; }

.field input[type="file"] { padding: 11px 14px; line-height: 1.5; }

.field input:disabled,
.field select:disabled,
.field textarea:disabled { background-color: var(--mist); color: var(--muted); cursor: not-allowed; }

.field input:focus,
.field textarea:focus,
.field select:focus,
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(61, 88, 206, .15); }

.field__hint { font-weight: 400; font-size: 14px; color: var(--muted); min-height: 1.4em; }

.form-status { font-size: 15px; min-height: 1.4em; }
.form-status.is-ok { color: #0F7A55; font-weight: 700; }
.form-status.is-bad { color: #B42318; font-weight: 700; }

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

.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 16px;
	border: 1px solid #D6DEEA;
	border-radius: 999px;
	background: var(--white);
	color: var(--navy);
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.chip:hover { border-color: var(--navy); }

.chip { position: relative; }
.field .chip input,
.chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.chip:has(input:checked),
.chip.is-on { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.chip:hover { color: inherit; }
.chip.is-on:hover { color: var(--white); }

/* --------------------------------------------------------------- legal */

.legal { display: grid; gap: 40px; }

.legal__toc h2 { font-size: 15px; margin-bottom: 10px; }
.legal__toc ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.legal__toc a { text-decoration: none; }

@media (min-width: 1000px) {
	.legal { grid-template-columns: 260px minmax(0, 720px); gap: 56px; align-items: start; }
	.legal__toc { position: sticky; top: 24px; }
}

.prose { max-width: 720px; font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 44px; font-weight: 800; font-size: 26px; letter-spacing: -.02em; scroll-margin-top: 24px; }
.prose h3 { margin-top: 28px; font-weight: 800; font-size: 19px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose li > strong:first-child { margin-right: 8px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.prose blockquote { margin-left: 0; padding-left: 20px; border-left: 4px solid var(--teal); font-family: var(--f-head); font-weight: 700; color: var(--navy); }

/* ------------------------------------------------------------- contact */

.contact { padding-top: 0; }
.contact__grid { display: grid; gap: 28px; margin-top: -32px; }
.contact__form { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.contact__form .btn { align-self: flex-start; }
.contact__trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
.contact__aside h2 { font-size: 15px; }

@media (min-width: 900px) {
	.contact__grid { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
	.contact__form { padding: 32px; }
	.contact__aside { padding-top: 64px; }
}

/* ----------------------------------------------------------- directory */

/* The whole pill is one control, as tall as every other: the box and the
   button sit inside it, 4px in. */
.search { display: flex; gap: 6px; max-width: 560px; margin-top: 22px; padding: 4px; height: var(--control); box-sizing: border-box; border-radius: 999px; background: var(--white); }
.search input { border: 0; height: calc(var(--control) - 8px); min-height: 0; border-radius: 999px; }
.search .btn { min-height: 0; height: calc(var(--control) - 8px); padding-top: 0; padding-bottom: 0; }
.search .btn { flex: none; }

/* **Suggestions under a search box** (6.68.0), Examples and Guides */
.search { position: relative; }
.search--help { max-width: 640px; }
.search--help input { flex: 1 1 auto; padding-left: 20px; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; list-style: none; margin: 0; padding: 6px; border-radius: 18px; background: var(--white); box-shadow: 0 18px 44px rgba(14, 26, 43, .22); text-align: left; }
.suggest li a { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--navy); transition: background-color .15s ease; }
.suggest li a strong { font-family: var(--f-head); font-weight: 700; font-size: 15px; line-height: 1.3; }
.suggest li a span { font-size: 13px; color: var(--muted); }
.suggest li a:hover, .suggest li[aria-selected="true"] a { background: var(--mist); }
.suggest__none { padding: 12px 14px; font-size: 14px; color: var(--muted); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }

.tours { --min: 260px; --gap: 20px; }

.tour { display: flex; flex-direction: column; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.tour:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(14, 26, 43, .12); color: var(--ink); }
.tour__pic { position: relative; background: var(--mist); }
.tour__pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tour__kind { position: absolute; left: 12px; top: 12px; background: var(--white); color: var(--navy); }
.tour__rooms { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(14, 26, 43, .65); color: var(--white); }
/* A photo count: the pictures icon and a number (6.69.1) */
.tour__rooms .ico, .count .ico { width: 16px; height: 16px; vertical-align: -3px; }
.count { display: inline-flex; align-items: center; gap: 6px; margin-right: 8px; }
.tour__text { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 2px; }
.tour__text strong { font-family: var(--f-head); font-size: 17px; color: var(--navy); }
.tour__text span { font-size: 14px; color: var(--muted); }

.pages { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 32px; font-family: var(--f-head); font-weight: 700; }
.pages span { font-weight: 600; color: var(--muted); }

.empty { padding: 40px 0; font-size: 18px; text-align: center; }

/* ---------------------------------------------------------------- plans */

.plans-head .page-head__body { padding-bottom: 72px; }
.plans-head .plans { margin-top: 36px; }

.cycle { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .12); }

/* **The white pill slides** to the choice (6.67.3), placed by site.js from
   the button's own size, as the two are not the same width. Before the
   script runs, the pressed button is white itself, as it always was. */
.cycle::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--w, 0); border-radius: 999px; background: var(--white); transform: translateX(var(--x, 0)); transition: transform .32s cubic-bezier(.3, .7, .2, 1), width .32s cubic-bezier(.3, .7, .2, 1); }
.cycle.is-sliding button[aria-pressed="true"] { background: transparent; }

.cycle button {
	min-height: 42px;
	padding: 8px 18px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--white);
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
}

.cycle button { position: relative; z-index: 1; transition: color .32s ease; }
.cycle button[aria-pressed="true"] { background: var(--white); color: var(--navy); }

[data-cycle="monthly"] .cycle-yearly,
[data-cycle="yearly"] .cycle-monthly { display: none; }

/* The cards of the cycle chosen come in one after another (6.67.3) */
.is-cycled .plan { animation: plan-in .42s cubic-bezier(.2, .7, .2, 1) both; }
.is-cycled .plan:nth-child(2) { animation-delay: .05s; }
.is-cycled .plan:nth-child(3) { animation-delay: .1s; }
.is-cycled .plan:nth-child(4) { animation-delay: .15s; }
.is-cycled .plan:nth-child(5) { animation-delay: .2s; }
@keyframes plan-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.compare { margin-top: 28px; overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-top: 1px solid #EEF2F7; }
.compare thead th { border-top: 0; font-family: var(--f-head); font-size: 15px; color: var(--navy); }
.compare tbody th { text-align: left; font-family: var(--f-body); font-weight: 400; color: var(--ink); }
.compare .tick { color: #0F7A55; font-weight: 800; }
.compare .dash { color: #9AA8BA; }

.faq-wide .faq { margin-top: 24px; }

/* -------------------------------------------------------------- notices */

.notice { padding: 12px 16px; border-radius: 14px; font-size: 15px; line-height: 1.5; }
.notice ul { margin: 0; padding-left: 18px; }
.notice--bad, .notice--danger { background: #FDE7E7; color: #9B1C1C; }
.notice--info { background: #EAF0FD; color: #1C3290; }
.notice--success { background: #E3F7F9; color: #0F5C63; }
.notice--warning { background: #FFF3DC; color: #7A4B00; }
.notice a { color: inherit; font-weight: 700; }
.notice--dismiss { display: flex; align-items: flex-start; gap: 12px; }
.notice--dismiss > span { flex: 1 1 auto; }
.notice__close { flex: none; width: 28px; height: 28px; margin: -2px -6px 0 0; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.notice__close:hover { background: rgba(0, 0, 0, .06); }
.ann__pic { display: block; width: 100%; height: auto; border-radius: 16px; }
.ann__code { display: flex; flex-direction: column; gap: 10px; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }

.reveal { position: relative; display: flex; }
.reveal input { padding-right: 52px; }
.reveal button {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
}
.reveal button[aria-pressed="true"] { color: var(--blue); }


/* ------------------------------------------------------------- sign-in */

.auth {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: linear-gradient(rgba(10, 20, 40, .72), rgba(10, 20, 40, .84)), url(../img/room-a.jpg) center / cover;
	background-image: linear-gradient(rgba(10, 20, 40, .72), rgba(10, 20, 40, .84)), image-set(url(../img/room-a.webp) type("image/webp"), url(../img/room-a.jpg) type("image/jpeg"));
}

.auth__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.auth__top img { height: 26px; width: auto; }
/* A small ghost pill with a back chevron, not an underlined link (6.67.4) */
.auth__back .ico { width: 16px; height: 16px; transform: scaleX(-1); }

.auth__main { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; padding: 16px var(--gutter) 64px; }

.auth__card {
	width: 100%;
	max-width: 460px;
	padding: 28px 22px;
	border-radius: 28px;
	background: var(--white);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
	display: flex;
	flex-direction: column;
	gap: 18px;
}

@media (min-width: 600px) { .auth__card { padding: 36px; } }

/* **Log in and Create an account, wider on a desk** (6.66.0): two fields
   to a row and Google beside Apple, so Create my account is on the screen
   of a laptop without scrolling. The cards without tabs (forgotten
   password, check your email) keep their width. */
@media (min-width: 900px) {
	.auth__card:has(.auth__tabs) { max-width: 640px; }
	.auth__card:has(.auth__tabs) .auth__social { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
	.auth__card:has(.auth__tabs) .auth__tabs { width: 100%; max-width: 420px; margin: 0 auto; }
}

/* The invisible check's badge would float over the page; Google allows its
   wording in its place (6.66.0). */
.auth .grecaptcha-badge { visibility: hidden; }
.auth__small { font-size: 12px; }

.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: #F1F4F9; }
.auth__tabs a { padding: 10px; border-radius: 999px; text-align: center; text-decoration: none; color: var(--navy); font-family: var(--f-head); font-weight: 700; font-size: 14px; }
.auth__tabs a[aria-current="page"] { background: var(--white); box-shadow: 0 1px 3px rgba(14, 26, 43, .15); }

.auth__title { font-weight: 900; font-size: 32px; letter-spacing: -.03em; line-height: 1.05; }

.auth__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 16px;
	background: #EAF0FD;
	color: var(--link);
	font-family: var(--f-head);
	font-weight: 900;
	font-size: 22px;
}

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

.social {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	border-radius: 999px;
	font-family: var(--f-head);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}

/* As the other buttons (6.66.2): the colour eases on hover, pressing dims
   it, and nothing moves. Apple had no hover at all. Focus is the site's
   own ring. */
.social { transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, filter .2s ease; }
.social:active { filter: brightness(.9); transition-duration: .08s; }
.social--google { border: 1px solid #D6DEEA; color: var(--navy); }
.social--google:hover { color: var(--navy); background: var(--mist); border-color: #AEBBCE; }
.social--apple { background: #000000; color: var(--white); }
.social--apple:hover { color: var(--white); background: #2B2B2B; box-shadow: 0 6px 16px rgba(0, 0, 0, .22); }
.social.is-waiting { opacity: .6; pointer-events: none; }

.auth__or { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #8C99AB; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; height: 1px; background: #E2E8F0; }

.auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.auth__after { text-align: center; font-size: 14px; color: var(--muted); }
/* Centred, as the old sign-up page had it (6.65.7) */
.auth .g-recaptcha { min-height: 78px; display: flex; justify-content: center; }
.auth .g-recaptcha[data-recaptcha-invisible] { min-height: 0; }

/* --------------------------------------------------------------- dialog */

.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: var(--gutter); background: rgba(8, 14, 28, .6); visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s linear .25s; }
.modal.is-open { visibility: visible; opacity: 1; transition: opacity .25s ease, visibility 0s; }
.modal__box { width: 100%; max-width: 460px; padding: 28px; border-radius: 26px; background: var(--white); display: flex; flex-direction: column; gap: 14px; transform: translateY(12px) scale(.98); transition: transform .25s ease; }
.modal.is-open .modal__box { transform: none; }
.modal__box h2 { font-weight: 900; font-size: 26px; letter-spacing: -.02em; }
.modal__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
/* In a pop-up, the agreement and the buttons sit in the middle, and the
   message line takes no room until it has something to say: empty, it
   left a gap the height of a line plus two gaps above the buttons (6.65.6). */
.modal__box .check { justify-content: center; }
.modal__box .form-status:empty { display: none; }

/* --------------------------------------------------------------- errors */

.oops {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	color: var(--white);
	background: var(--sky);
}

.oops__body { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding-top: 40px; padding-bottom: 96px; }
.oops__code { font-size: 20px; color: var(--teal); }
.oops h1 { max-width: 900px; font-weight: 900; font-size: clamp(44px, 8vw, 104px); line-height: .95; letter-spacing: -.045em; }
.oops__text { max-width: 560px; font-size: 19px; color: #D6E2F5; }
.oops__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.page-error .footer { display: none; }

/* ---------------------------------------------------------------- blog */

.post-topic { font-family: var(--f-head); font-weight: 700; font-size: 13px; color: var(--link); }
.post-meta { font-size: 14px; color: var(--muted); }

.lead-post { display: grid; overflow: hidden; margin-bottom: 28px; color: var(--ink); text-decoration: none; }
.lead-post:hover { color: var(--ink); box-shadow: 0 22px 44px rgba(14, 26, 43, .12); }
.lead-post__pic { background: var(--mist); }
.lead-post__pic img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lead-post__text { display: flex; flex-direction: column; gap: 10px; justify-content: center; padding: 24px; }
.lead-post h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; color: var(--navy); }
.lead-post p { font-size: 17px; }

.posts { --min: 250px; --gap: 20px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(14, 26, 43, .12); color: var(--ink); }
.post-card__pic { background: var(--mist); }
.post-card__pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__text { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.post-card__text strong { font-family: var(--f-head); font-size: 18px; line-height: 1.25; color: var(--navy); }

.crumbs { font-size: 14px; color: #B9C7DC; margin-bottom: 14px; }
.crumbs a { color: var(--white); }
.blog-topics { margin-bottom: 24px; }
.post-head h1 { max-width: 900px; color: var(--white); font-size: clamp(34px, 5.4vw, 54px); }
.post-head .post-meta { color: #B9C7DC; }

.post__hero { width: 100%; max-width: 1000px; margin: 0 auto 40px; border-radius: 16px; aspect-ratio: 16 / 9; object-fit: cover; }
.post__body { margin: 0 auto; font-size: 18px; }
/* Posts were written in the old editors: their pictures, frames and tables must fit the column. */
.post__body img, .post__body iframe, .post__body video { max-width: 100%; height: auto; border-radius: 10px; }
.post__body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.post__body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.post__body [style*="width"] { max-width: 100% !important; }

.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(30px, 5vw, 48px); font-weight: 900; letter-spacing: -.03em; }
.cta-band p { margin: 10px 0 22px; }

@media (min-width: 900px) {
	.lead-post { grid-template-columns: 3fr 2fr; }
	.lead-post__text { padding: 36px; }
}

/* ---------------------------------------------------------------- help */

.help-groups { --min: 280px; --gap: 20px; }
.help-group { display: flex; flex-direction: column; gap: 8px; padding: 26px; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.help-group:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(14, 26, 43, .12); color: var(--ink); }
.help-group strong { font-family: var(--f-head); font-size: 20px; font-weight: 800; color: var(--navy); }
.help-group small { margin-top: auto; padding-top: 8px; font-family: var(--f-num); font-weight: 700; font-size: 14px; color: var(--link); }

.help-split { display: grid; gap: 24px; }
.help-split .title { margin-bottom: 14px; }
.help-more { margin-top: 18px; }
.faq .prose { margin-top: 10px; font-size: 16px; }

.help-stuck { text-align: center; }
.help-stuck h2 { font-size: clamp(30px, 5vw, 44px); font-weight: 900; letter-spacing: -.03em; }
.help-stuck p { margin: 10px 0 22px; }

.guide-list { list-style: none; padding: 0; max-width: 760px; }
.guide-list li + li { border-top: 1px solid var(--line); }
.guide-list a { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; color: var(--ink); text-decoration: none; }
.guide-list strong { font-family: var(--f-head); font-size: 18px; color: var(--navy); }
.guide-list a:hover strong { color: var(--link); }

.guide-title { color: var(--white); max-width: 860px; font-size: clamp(34px, 5.4vw, 54px); }

.guide { display: grid; gap: 32px; }
.guide__side { order: 2; padding-top: 24px; border-top: 1px solid var(--line); }
.guide__side-name { font-family: var(--f-head); font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.guide__side ul { list-style: none; padding: 0; }
.guide__side a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 15px; }
.guide__side a:hover { color: var(--navy); background: var(--mist); }
.guide__side a[aria-current="page"] { color: var(--navy); background: #EEF3FE; font-weight: 700; }
.guide__main { min-width: 0; }

/* Steps are an ordered list whose items open with a bold title. */
.guide__body ol { list-style: none; counter-reset: step; padding-left: 0; }
.guide__body ol > li { counter-increment: step; position: relative; padding-left: 52px; min-height: 36px; }
.guide__body ol > li + li { margin-top: 18px; }
.guide__body ol > li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--grad-words);
	color: var(--white);
	font-family: var(--f-num);
	font-weight: 800;
	display: grid;
	place-items: center;
}
.guide__body ol > li > strong:first-child,
.guide__body ol > li > p:first-child > strong:first-child { margin-right: 0; font-family: var(--f-head); color: var(--navy); }
.guide__body blockquote { padding: 16px 20px; border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; background: #EEF9FA; font-family: var(--f-body); font-weight: 400; color: var(--ink); }
.guide__body figure { margin: 28px 0; }
.guide__body img { max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.guide__body figure figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.guide__body code { padding: 2px 6px; border-radius: 6px; background: var(--mist); font-size: .9em; }

.guide__foot { margin-top: 44px; display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.guide__next { display: flex; flex-direction: column; gap: 2px; padding: 18px 22px; color: var(--ink); text-decoration: none; }
.guide__next small { color: var(--muted); }
.guide__next strong { font-family: var(--f-head); font-size: 18px; color: var(--link); }

.glossary { display: grid; gap: 0; max-width: 820px; }
.glossary > div { padding: 20px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; break-inside: avoid; }

/* Two columns on a desk (6.67.1), down the first and then the second, as
   a dictionary reads: the width filled, each meaning still a short line. */
@media (min-width: 900px) {
	.glossary { display: block; max-width: none; columns: 2; column-gap: 56px; }
}
.glossary > div:target { background: #EEF9FA; padding-left: 16px; padding-right: 16px; border-radius: 12px; }
.glossary dt { font-family: var(--f-head); font-weight: 800; font-size: 19px; color: var(--navy); }
.glossary dd { margin: 6px 0 0; font-size: 16px; }
.faq details { scroll-margin-top: 24px; }

@media (min-width: 900px) {
	.help-split { grid-template-columns: 1fr 2fr; gap: 48px; }
	.guide { grid-template-columns: 250px 1fr; gap: 56px; }
	.guide__side { order: 0; padding-top: 0; border-top: 0; position: sticky; top: 24px; align-self: start; }
}

/* ---------------------------------------------------------- who it's for */

.who { --min: 340px; --gap: 20px; }
/* The planet above the words, not beside them: beside it, the words ran in
   a column 150 pixels wide on a phone, a tablet and three across on a wide
   screen (12 November 2026). */
.who__item { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 16px; padding: 26px; align-items: start; }
.who__planet { flex: none; width: 72px; height: 72px; filter: drop-shadow(0 10px 18px rgba(14, 26, 43, .25)); animation: spin 90s linear infinite; }
.who__item h2 { font-weight: 800; font-size: 21px; color: var(--navy); letter-spacing: -.01em; }
.who__line { font-family: var(--f-head); font-weight: 700; color: var(--link); }
.who__item .stack { --stack-gap: 10px; min-width: 0; }
.who__rooms { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.who__rooms figure { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.who__rooms img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 10px; background: var(--line); }
.who__rooms figcaption { font-size: 13px; color: var(--muted); }
.who__demo { grid-column: 1 / -1; justify-self: center; }
.who__tools { margin-top: 6px; display: flex; flex-direction: column; gap: 8px; }
.who__tools > span { font-family: var(--f-head); font-weight: 800; font-size: 15px; color: var(--navy); }
.who__tools .chips { list-style: none; padding: 0; margin: 0; }
.who__tools .chip { font-size: 13px; padding: 7px 13px; }

.play-badge { display: inline-block; align-self: flex-start; margin: -8px 0 0 -10px; line-height: 0; border-radius: 12px; transition: transform .2s ease; }
.play-badge:hover { transform: translateY(-2px); }
.play-badge img { width: 200px; height: auto; }
/* The two stores side by side (6.91.1). Apple's badge has no margin of its own and Google's has one,
   so Apple's is drawn at Google's artwork height without it: 60 against Google's 77 with margin */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.store-badges .play-badge { margin: -8px 0 -8px -10px; align-self: center; }
.store-badge { display: inline-block; line-height: 0; border-radius: 10px; transition: transform .2s ease; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge--apple img { height: 52px; width: auto; }
.legal-line { font-size: 12px; color: var(--muted); }

@media (min-width: 900px) {
	.who__planet { width: 96px; height: 96px; }
}

/* ---------------------------------------------------------------- listing */

.page-head--slim { padding-bottom: 8px; }
.crumbs--ink { color: var(--muted); margin-bottom: 18px; }
.crumbs--ink a { color: var(--link); }

.pill--teal { align-self: flex-start; background: #E3F7F9; color: #0F5C63; }

.listing-tour { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--navy); box-shadow: 0 24px 60px rgba(14, 26, 43, .18); }
.listing-tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.listing-grid { display: grid; gap: 32px; margin-top: 36px; align-items: start; }
.listing-title { font-size: clamp(30px, 4.6vw, 46px); font-weight: 900; letter-spacing: -.03em; line-height: 1.08; }
.listing-where { font-size: 17px; color: var(--muted); }
.listing-h2 { margin-bottom: 14px; font-weight: 800; font-size: 24px; letter-spacing: -.02em; color: var(--navy); }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); }
/* Lines drawn by each cell to its right and below; the frame clips the ones on
   the outer edge, so a short last row leaves no grey gap. */
.facts > div { padding: 14px 16px; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-family: var(--f-head); font-weight: 800; font-size: 17px; color: var(--navy); }

.amenities { list-style: none; padding: 0; margin: 0; }
.amenities .chip { cursor: default; }
.amenities .chip:hover { border-color: #D6DEEA; }

.listing-side { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.listing-side__label { font-size: 14px; color: var(--muted); }
.listing-side__price { margin-top: -8px; font-family: var(--f-num); font-weight: 800; font-size: 34px; color: var(--navy); letter-spacing: -.01em; }
.listing-side .btn { width: 100%; }
.listing-side__note { font-size: 14px; color: var(--muted); text-align: center; }

.listing-agent { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.listing-agent div { display: flex; flex-direction: column; min-width: 0; }
.listing-agent strong { font-family: var(--f-head); color: var(--navy); }
.listing-agent span:not(.avatar) { font-size: 14px; color: var(--muted); }
.avatar--grad { flex: none; width: 46px; height: 46px; border: 0; box-shadow: none; background: var(--grad-words); color: var(--white); }

.listing-more { margin-top: 56px; }

@media (min-width: 900px) {
	.listing-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
	.listing-side { position: sticky; top: 24px; }
}

/* -------------------------------------------------------------- showcase */
/* An owner's own site, in their two colours (--sc1, --sc2; --sc-on is the
   text that reads on --sc1). */

.sc { background: var(--white); }
.sc main a:not(.btn):not(.card):not(.chip) { color: var(--sc1); }
.sc-btn { background: var(--sc1); color: var(--sc-on); }
.sc-btn:hover { color: var(--sc-on); filter: brightness(1.08); box-shadow: 0 10px 24px rgba(14, 26, 43, .2); }

.sc-head { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 3px solid var(--sc2); }
.sc-head__in { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.sc-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.sc-brand img { height: 44px; width: auto; max-width: 180px; object-fit: contain; }
.sc-brand strong { font-family: var(--f-head); font-weight: 800; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-mono { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sc1); color: var(--sc-on); font-family: var(--f-head); font-weight: 900; font-size: 14px; }

.sc-menu { display: none; }
.sc-menu ul { list-style: none; margin: 0; padding: 0; }
.sc-menu a { display: block; padding: 10px 12px; font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--navy) !important; text-decoration: none; border-radius: 10px; transition: background-color .2s ease, color .2s ease; }
.sc-menu a:hover, .sc-menu a[aria-current="page"] { color: var(--sc1) !important; background: var(--mist); }

.sc-head__end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.sc-head .sc-btn { min-height: 42px; padding: 9px 16px; font-size: 15px; }
.sc-hide-phone { display: none; }
.sc-menu-button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--mist); color: var(--navy); cursor: pointer; }

/* The menu on a phone: a panel under the header. */
.sc-menu.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; padding: 8px var(--gutter) 16px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(14, 26, 43, .12); }
.sc-menu.is-open ul ul { padding-left: 14px; }

.sc-hero { position: relative; background: var(--sc1) center / cover no-repeat; color: var(--white); }
.sc-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 14, 28, .72), rgba(8, 14, 28, .25)); }
.sc-hero__in { position: relative; display: flex; align-items: center; min-height: 460px; padding-top: 56px; padding-bottom: 56px; }
.sc-hero__box { max-width: 640px; display: flex; flex-direction: column; gap: 14px; }
.sc-hero h1 { font-weight: 900; font-size: clamp(34px, 6vw, 60px); line-height: 1.04; letter-spacing: -.03em; color: var(--white); }
.sc-hero p { font-size: 18px; color: #E8EEF6; }
.sc-kicker { font-family: var(--f-head); font-weight: 700; color: var(--sc2) !important; }
/* Over the home picture it is white: the second colour is the agent's choice,
   and a dark one disappeared into the dark shade over the photo. */
.sc-hero .sc-kicker { color: rgba(255, 255, 255, .88) !important; }
.sc-hero__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

.sc-stats { background: var(--sc1); color: var(--sc-on); }
.sc-stats__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; padding-top: 28px; padding-bottom: 28px; text-align: center; }
.sc-stats strong { display: block; font-size: 30px; font-weight: 800; }
.sc-stats span { font-size: 14px; opacity: .85; }

.sc-h1 { font-weight: 900; font-size: clamp(32px, 5vw, 48px); letter-spacing: -.03em; line-height: 1.08; color: var(--navy); }
.sc-h2 { font-weight: 800; font-size: clamp(26px, 3.6vw, 34px); letter-spacing: -.02em; color: var(--navy); }
.sc-split { align-items: flex-end; margin-bottom: 24px; }
.sc-more { font-family: var(--f-head); font-weight: 700; }
.sc-tint { background: var(--mist); }
.sc-band { background: color-mix(in srgb, var(--sc1) 8%, var(--white)); }

.sc-cards { --min: 260px; --gap: 20px; }
.sc-card { display: flex; flex-direction: column; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.sc-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(14, 26, 43, .12); }
.sc-card__pic { position: relative; background: var(--mist); }
.sc-card__pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sc-card__kind { position: absolute; left: 12px; top: 12px; background: var(--sc1); color: var(--sc-on); }
.sc-card__kind--rent { background: var(--sc2); color: var(--navy); }
.sc-card__360 { position: absolute; right: 12px; top: 12px; background: rgba(14, 26, 43, .7); color: var(--white); }
.sc-card__text { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 18px; }
.sc-card__text strong { font-size: 19px; color: var(--navy); }
.sc-card__title { font-family: var(--f-head); font-weight: 700; color: var(--navy); }
.sc-card__facts { font-size: 14px; color: var(--muted); }

.sc-quotes { --min: 280px; --gap: 20px; margin-top: 24px; }
.sc-quote { margin: 0; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.sc-quote blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink); }
.sc-quote blockquote::before { content: "\201C"; display: block; height: 28px; font-family: Georgia, serif; font-size: 56px; line-height: 1; color: var(--sc2); }
.sc-quote figcaption { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.sc-quote figcaption strong { font-family: var(--f-head); color: var(--navy); font-size: 15px; }

.sc-awards { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; margin-top: 24px; }
.sc-award { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.sc-award img { width: 96px; height: 96px; object-fit: contain; }
.sc-award strong { font-family: var(--f-head); color: var(--navy); }
.sc-award span { font-size: 14px; color: var(--muted); }

.sc-contact { display: grid; gap: 28px; }
.sc-form { max-width: 640px; }
.sc-note { font-size: 14px; color: var(--muted); }
.sc-details { margin: 8px 0 0; display: grid; gap: 14px; }
.sc-details dt { font-size: 13px; color: var(--muted); }
.sc-details dd { margin: 2px 0 0; font-family: var(--f-head); font-weight: 700; color: var(--navy); }

.sc-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0 24px; }
.sc-filters .chip.is-on, .sc-filters .chip:has(input:checked) { background: var(--sc1); border-color: var(--sc1); color: var(--sc-on); }
.field--inline { flex-direction: row; flex: 1 1 150px; max-width: 220px; }
.field--inline select { width: 100%; }
/* Chips in a row with dropdowns stand as tall as them. */
.sc-filters .chip { height: var(--control); padding: 0 18px; }
.sc-filters .chips { flex: 1 1 100%; }
.sc-count { margin-left: auto; font-size: 14px; color: var(--muted); }

@media (min-width: 900px) { .sc-filters .chips { flex: 0 0 auto; } }

.sc-profile { display: grid; gap: 32px; align-items: start; }
.sc-profile__photo { width: 100%; max-width: 360px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: 0 24px 60px rgba(14, 26, 43, .15); }
.sc-profile__title { font-family: var(--f-head); font-weight: 700; color: var(--muted); }

.sc-pagehead { position: relative; padding: 72px 0 56px; background: var(--sc1) center / cover no-repeat; color: var(--white); }
.sc-pagehead::before { content: ""; position: absolute; inset: 0; background: rgba(8, 14, 28, .55); }
.sc-pagehead .wrap { position: relative; }
.sc-pagehead h1 { font-weight: 900; font-size: clamp(32px, 5vw, 52px); letter-spacing: -.03em; color: var(--white); }
.sc-pagehead p { margin-top: 10px; font-size: 18px; color: #E8EEF6; }
.sc-prose { margin: 0 auto; }
.sc-prose img, .sc-prose iframe { max-width: 100%; height: auto; border-radius: 12px; }
.sc-prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; }
.sc-prose table { display: block; overflow-x: auto; border-collapse: collapse; }

.sc-foot { background: var(--navy); color: #C3D0E2; padding: 40px 0; }
.sc-foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sc-foot strong { font-family: var(--f-head); color: var(--white); font-size: 18px; }
.sc-foot p { margin-top: 4px; font-size: 14px; }
.sc .sc-foot a:not(.sc-made) { color: var(--white); }
.sc-made { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; color: #C3D0E2 !important; font-size: 12px; text-decoration: none; }
.sc-made img { filter: brightness(0) invert(1); opacity: .85; }

@media (min-width: 600px) {
	.sc-hide-phone { display: inline; }
}

@media (min-width: 900px) {
	.sc-menu { display: block; margin-left: 12px; }
	.sc-menu > ul { display: flex; gap: 2px; }
	.sc-menu li { position: relative; }
	.sc-menu li ul { position: absolute; left: 0; top: 100%; min-width: 200px; padding: 8px; background: var(--white); border-radius: 14px; box-shadow: 0 20px 40px rgba(14, 26, 43, .14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
	.sc-menu li:hover > ul, .sc-menu li:focus-within > ul { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease, visibility 0s; }
	.sc-menu-button { display: none; }
	.sc-contact { grid-template-columns: 1fr 1.4fr; gap: 56px; }
	.sc-profile { grid-template-columns: 360px 1fr; gap: 56px; }
}

/* ---------------------------------------------------------------- account */

.page-account { background: var(--mist); }
.page-account .footer { display: none; }

.acc-top { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.acc-top__in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.acc-logo img { display: block; height: 24px; width: auto; }
.acc-nav { display: flex; gap: 2px; }
.acc-nav a { padding: 8px 12px; border-radius: 10px; font-family: var(--f-head); font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.acc-nav a:hover { background: var(--mist); color: var(--navy); }
.acc-nav a[aria-current="page"] { color: var(--link); background: #EEF3FE; }

.acc-me { position: relative; margin-left: auto; }
.acc-me__button { display: flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); cursor: pointer; font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--navy); transition: border-color .2s ease; }
.acc-me__button:hover { border-color: var(--navy); }
.acc-me__button .avatar { width: 34px; height: 34px; border: 0; box-shadow: none; font-size: 12px; object-fit: cover; }
.acc-me__name { display: none; max-width: 160px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.acc-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: 8px; border-radius: 16px; background: var(--white); box-shadow: 0 20px 50px rgba(14, 26, 43, .18); display: flex; flex-direction: column; animation: acc-in .18s ease-out; }
.acc-menu a, .acc-menu__out { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; text-align: left; font: inherit; font-size: 15px; color: var(--navy); text-decoration: none; cursor: pointer; transition: background-color .2s ease; }
.acc-menu a:hover, .acc-menu__out:hover { background: var(--mist); color: var(--navy); }
.acc-menu form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--line); }
.acc-menu__out { color: #B42318; }
@keyframes acc-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.acc-main { padding: 28px 0 64px; }
.acc-main > .wrap > .notice { margin-bottom: 20px; }
.acc-main > .wrap > .notice + .notice { margin-top: -10px; }

.acc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.acc-head__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.acc-h1 { font-weight: 900; font-size: clamp(28px, 4vw, 38px); letter-spacing: -.03em; color: var(--navy); }
.acc-h2 { font-weight: 800; font-size: 20px; color: var(--navy); }
.acc-sub { margin-top: 4px; color: var(--muted); }
/* Who changed it last, under the title */
.acc-history { margin-top: 6px; font-size: 13px; color: #8492A6; }
.acc-muted { font-size: 14px; color: var(--muted); }
.acc-label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
.acc-big { display: block; margin: 4px 0; font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1.1; }
.acc-trend { font-family: var(--f-num); font-weight: 800; font-size: 14px; }
.acc-trend.is-up { color: #0F7A55; }
.acc-trend.is-down { color: #B42318; }

.btn--small { min-height: 38px; padding: 7px 14px; font-size: 14px; }

.acc-needs { display: grid; gap: 12px; margin-bottom: 20px; }
.acc-need { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; align-items: center; padding: 16px 18px; border-left: 4px solid #F4B740; }
.acc-need__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #FFF3DC; color: #7A4B00; font-family: var(--f-head); font-weight: 900; }
.acc-need strong { font-family: var(--f-head); color: var(--navy); }
.acc-need p { font-size: 14px; color: var(--ink); }
.acc-need .btn { grid-column: 1 / -1; justify-self: start; }

.acc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin-bottom: 28px; }
.acc-stat { padding: 18px 20px; }
.acc-bars { display: flex; align-items: flex-end; gap: 3px; height: 50px; margin-top: 12px; }
.acc-bars span { flex: 1; border-radius: 3px 3px 0 0; background: var(--grad); }
.acc-meter { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.acc-meter li { display: grid; grid-template-columns: minmax(0, 7em) 1fr 3em; gap: 8px; align-items: center; font-size: 14px; }
.acc-meter li > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-meter__bar { height: 8px; border-radius: 4px; background: var(--mist); overflow: hidden; }
.acc-meter__bar span { display: block; height: 100%; background: var(--teal); border-radius: 4px; }
.acc-meter .num { text-align: right; color: var(--muted); }
.acc-top-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.acc-more { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 14px; color: var(--navy); }
.acc-top-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.acc-top-list img { width: 44px; height: 30px; object-fit: cover; border-radius: 6px; }
.acc-top-list a { min-width: 0; color: var(--navy); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.acc-list__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.acc-list__bar .acc-h2 { flex: 1 1 100%; margin-right: 8px; }
.acc-list__bar .chip { height: var(--control); padding: 0 16px; }
.acc-list__bar .chip .num { font-size: 13px; opacity: .7; }
.acc-sort { margin-left: auto; }
.acc-sort .field--inline { max-width: none; }
.acc-sort select { min-width: 160px; }

.acc-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.acc-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px 16px; align-items: center; padding: 12px; }
.acc-row__pic img { display: block; width: 96px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; background: var(--mist); }
.acc-row__main { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.acc-row__access { font-size: 12px; font-weight: 700; color: var(--muted); }
.acc-row__title { font-family: var(--f-head); font-weight: 800; color: var(--navy); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-row__title:hover { color: var(--link); }
.acc-row__views { display: flex; align-items: center; gap: 10px; grid-column: 1 / -1; font-family: var(--f-num); font-weight: 800; color: var(--navy); }
.acc-spark { display: flex; align-items: flex-end; gap: 2px; height: 24px; }
.acc-spark span { width: 4px; border-radius: 2px; background: var(--teal); }
.acc-row__actions { grid-column: 1 / -1; display: flex; gap: 8px; }

.acc-empty { padding: 32px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.acc-empty h3 { font-weight: 800; font-size: 22px; color: var(--navy); }
.acc-empty__buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

@media (min-width: 600px) {
	.acc-me__name { display: inline; }
	.acc-need { grid-template-columns: auto 1fr auto; }
	.acc-need .btn { grid-column: auto; }
	.acc-list__bar .acc-h2 { flex: 0 1 auto; }
	/* The title, views and buttons on one line need 900 pixels: at 600 the
	   title was squeezed to two letters (12 November 2026). Between, the
	   views and buttons go under the title, beside the picture. */
	.acc-row { grid-template-columns: 120px minmax(0, 1fr) auto; }
	.acc-row__pic { grid-row: span 2; }
	.acc-row__pic img { width: 120px; }
	.acc-row__main { grid-column: 2 / -1; }
	.acc-row__views { grid-column: 2; }
	.acc-row__actions { grid-column: 3; }
}
@media (min-width: 900px) {
	.acc-row { grid-template-columns: 120px minmax(0, 1fr) auto auto; }
	.acc-row__pic { grid-row: auto; }
	.acc-row__main, .acc-row__views, .acc-row__actions { grid-column: auto; }
}

@media (max-width: 599px) {
	.acc-nav { display: none; }
}

/* -------------------------------------------------------- a Panotour page */

.acc-head__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.pano-grid { display: grid; gap: 16px; margin-bottom: 16px; }
.pano-card { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.pano-more { font-family: var(--f-head); font-weight: 700; }

.pano-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pano-steps a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; transition: border-color .2s ease, background-color .2s ease; }
.pano-steps a:hover { border-color: var(--blue); background: #F7F9FE; color: var(--ink); }
.pano-steps strong { display: block; font-family: var(--f-head); color: var(--navy); }
.pano-steps small { display: block; font-size: 14px; color: var(--muted); }
.pano-steps__n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mist); color: var(--navy); font-family: var(--f-num); font-weight: 800; }
.pano-steps .is-done .pano-steps__n { background: var(--grad-words); color: var(--white); }

.pano-extras { list-style: none; margin: 0; padding: 0; display: grid; }
.pano-extras li { border-top: 1px solid var(--line); }
.pano-extras li:first-child { border-top: 0; }
.pano-extras a { display: flex; align-items: center; gap: 14px; padding: 12px 8px; margin: 0 -8px; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background-color .2s ease; }
.pano-extras li:first-child a { margin-top: -6px; }
.pano-extras li:last-child a { margin-bottom: -6px; }
.pano-extras a:hover { background: var(--mist); }
.pano-extras a:hover strong { color: var(--link); }
.pano-extras__ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #EEF3FE; color: var(--blue); }
.pano-extras__text { flex: 1; min-width: 0; }
.pano-extras strong { display: block; font-family: var(--f-head); color: var(--navy); transition: color .2s ease; }
.pano-extras small { display: block; font-size: 14px; color: var(--muted); }
.pano-extras .pill { flex: none; }
.pano-extras__go { flex: none; width: 18px; height: 18px; color: #9AA8BC; transition: color .2s ease; }
.pano-extras a:hover .pano-extras__go { color: var(--navy); }
.pill--grey { flex: none; background: #EEF2F7; color: var(--muted); }
/* A field's name with an icon before it */
.field__label { display: inline-flex; align-items: center; gap: 8px; }
.field__label .ico { width: 18px; height: 18px; color: var(--muted); }

.copy-field { display: flex; gap: 8px; align-items: center; }
.copy-field input { flex: 1; min-width: 0; font-family: var(--f-num); font-size: 14px !important; color: var(--muted) !important; background: var(--mist) !important; }
.copy-field .btn { flex: none; min-height: var(--control); }

.pano-danger { border: 1px solid #F3D3D0; box-shadow: none; }
.pano-danger .btn { align-self: flex-start; }

.pano-details { margin-top: 0; }
/* A switch and what it opens, on one line; where the line is too narrow for
   both, one under the other (a column, so opening it slides without a snap) */
.switch-wrap { container-type: inline-size; }
.switch-line { display: flex; align-items: center; gap: 10px; }
@container (max-width: 479px) {
	.switch-line { flex-direction: column; align-items: stretch; }
	.switch-line .switch-line__field { flex: none; }
	.switch-line .seg { align-self: flex-start; }
	.switch-line .switch-line__field--short { align-self: flex-start; }
}
.switch-line .seg { flex: none; }
.switch-line__field { flex: 1 1 180px; min-width: 0; display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 15px; color: var(--ink); white-space: nowrap; }
.switch-line__field input { flex: 1; min-width: 0; }
.switch-line__field--short { flex: 0 1 auto; }
.switch-line__field--short input { flex: none; width: 84px; }
/* Two columns of the form, each a column of its own fields */
.pano-details .fields { column-gap: 28px; }
.pano-form__row { align-items: start; }
.pano-form__row > .stack { gap: 14px; }

/* Music, with a button to hear it */
.music-pick { display: flex; gap: 8px; }
.music-pick select { flex: 1; min-width: 0; }
.music-pick__play { flex: none; }
.music-pick__play:disabled { opacity: .45; cursor: default; }
.music-pick__play:disabled:hover { border-color: var(--line); }
.music-pick__stop, .music-pick__play.is-playing .music-pick__go { display: none; }
.music-pick__play.is-playing .music-pick__stop { display: block; }
.music-pick__play.is-playing { border-color: var(--blue); color: var(--blue); background: #EEF3FE; }
.pano-save { padding-top: 4px; }
/* Moved to the page's head by site.js, which shows Save there instead */
.pano-save.is-moved { display: none; }

/* Two or three choices side by side, as tall as an input. */
.seg { position: relative; isolation: isolate; align-self: flex-start; display: inline-flex; flex-wrap: wrap; padding: 4px; border-radius: 14px; background: #E7ECF3; box-shadow: inset 0 0 0 1px #D6DEEA; gap: 4px; }
.seg label { position: relative; display: inline-flex; align-items: center; height: calc(var(--control) - 8px); padding: 0 16px; border-radius: 10px; font-weight: 700; font-size: 15px; color: #4A5A70; cursor: pointer; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
.seg label:hover { color: var(--navy); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.seg label:has(input:checked) { background: var(--white); color: var(--navy); box-shadow: 0 2px 8px rgba(14, 26, 43, .12); }
/* With site.js the white is one thumb that slides to the choice */
.seg__thumb { position: absolute; z-index: -1; top: 0; left: 0; border-radius: 10px; background: var(--white); box-shadow: 0 2px 8px rgba(14, 26, 43, .14); transition: transform .28s cubic-bezier(.3, .7, .2, 1), width .28s cubic-bezier(.3, .7, .2, 1), height .28s ease; }
.seg.has-thumb label:has(input:checked) { background: transparent; box-shadow: none; }
.seg.is-still .seg__thumb { transition: none; }
.seg label:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }

.fields--three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

.file-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.file-pick img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--mist); }
.file-pick .btn { cursor: pointer; white-space: nowrap; }
.file-pick .file-pick__round { width: 72px; aspect-ratio: 1; border-radius: 50%; }
.file-pick .file-pick__mark { width: 120px; aspect-ratio: auto; height: 64px; object-fit: contain; background: repeating-conic-gradient(#EEF2F6 0 25%, #fff 0 50%) 0 0 / 16px 16px; }
.field__hint.is-good { color: #157A4A; }
.field__hint.is-bad { color: #B42318; }
.acc-cols { display: grid; gap: 16px; }
.acc-narrow { max-width: 560px; }
.acc-cols .stack > .btn { align-self: flex-start; }
.close-account > summary { list-style: none; display: inline-flex; }
.close-account > summary::-webkit-details-marker { display: none; }
.close-account[open] > summary { margin-bottom: 16px; }
.close-account .btn--danger-solid { align-self: flex-start; }

@media (min-width: 900px) {
	.pano-grid { grid-template-columns: 1.3fr 1fr; align-items: start; }
	.acc-cols { grid-template-columns: 1.5fr 1fr; align-items: start; }
}

/* ------------------------------------------------------------ build steps */

.build-steps { margin: -4px 0 18px; overflow-x: auto; }
.build-steps ol { list-style: none; margin: 0; padding: 4px; display: inline-flex; gap: 4px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.build-steps a { display: flex; align-items: center; gap: 8px; height: calc(var(--control) - 8px); padding: 0 14px; border-radius: 10px; font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--muted); text-decoration: none; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.build-steps a:hover { background: var(--mist); color: var(--navy); }
.build-steps .num { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mist); font-size: 12px; }
.build-steps a[aria-current="step"] { background: var(--navy); color: var(--white); }
.build-steps a[aria-current="step"] .num { background: var(--grad-words); }

/* ----------------------------------------------------------------- scenes */

.drop { padding: 8px; margin-bottom: 18px; }
.drop__zone { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 16px; border: 2px dashed #C8D3E3; border-radius: 14px; text-align: center; color: var(--muted); cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.drop__zone svg { color: var(--blue); }
.drop__zone strong { font-family: var(--f-head); color: var(--navy); }
.drop__zone:hover, .drop.is-over .drop__zone { border-color: var(--blue); background: #F7F9FE; }
.drop__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.drop__list:not(:empty) { padding: 10px 8px 4px; }
.drop__list li { display: grid; grid-template-columns: minmax(0, 1fr) 120px 110px; gap: 10px; align-items: center; font-size: 14px; }
.drop__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.drop__bar { height: 6px; border-radius: 3px; background: var(--mist); overflow: hidden; }
.drop__bar span { display: block; width: 0; height: 100%; background: var(--grad); transition: width .2s ease; }
.drop__state { text-align: right; color: var(--muted); }
.drop__list .is-done .drop__state { color: #0F7A55; font-weight: 700; }
.drop__list .is-bad .drop__state { color: #B42318; font-weight: 700; }

.scenes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.scene { display: grid; grid-template-columns: auto 88px minmax(0, 1fr); grid-template-areas: "grip pic name" "facts facts facts" "tools tools tools"; gap: 10px 12px; align-items: center; padding: 10px 12px; cursor: grab; transition: box-shadow .2s ease, opacity .2s ease; }
.scene.is-dragging { opacity: .5; box-shadow: 0 20px 40px rgba(14, 26, 43, .2); }
.scene__grip { grid-area: grip; color: #A3B1C6; }
.scene img { grid-area: pic; width: 88px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; background: var(--mist); }
.scene__name { grid-area: name; gap: 6px; }
.scene__file { display: flex; align-items: center; gap: 6px; min-width: 0; font-weight: 400; font-size: 13px; line-height: 20px; color: var(--muted); white-space: nowrap; }
.scene__file > span { overflow: hidden; text-overflow: ellipsis; }
.scene__first { flex: none; padding: 0 8px; border-radius: 999px; background: #E3F7F9; color: #0F5C63; font-size: 12px; }
.scene__tools { grid-area: tools; display: flex; gap: 6px; justify-content: flex-end; }
.scene__tools button { display: grid; place-items: center; width: var(--control); height: var(--control); border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy); cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.scene__tools button:hover { border-color: var(--navy); }
.scene__delete:hover, .scene__delete.is-sure { background: #FDE7E7; border-color: #F3D3D0 !important; color: #B42318 !important; }
/* Deleting: the row dims and the button turns into a spinner until it is gone */
.scene.is-deleting { opacity: .5; cursor: progress; }
.scene.is-deleting .scene__delete svg { display: none; }
.scene.is-deleting .scene__delete::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
/* Scene facts (6.56.0): folded away until wanted, and open when filled in */
.scene__facts { min-width: 0; cursor: auto; }
.scene__facts summary { display: flex; flex-wrap: wrap; gap: 0 8px; align-items: baseline; padding: 4px 0; font-weight: 700; font-size: 14px; color: var(--navy); cursor: pointer; }
.scene__facts summary span { font-weight: 400; color: var(--muted); }
.scene__facts-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; padding: 8px 0 4px; }
/* One room, two photos (6.60.0) */
.scene__more { grid-area: facts; min-width: 0; display: grid; gap: 2px; }
.scene__second { justify-self: start; font-size: 14px; font-weight: 700; color: var(--navy); }
.scene__second span { font-weight: 400; color: var(--muted); }
.second { display: grid; gap: 14px; }
.second__pic { margin: 0; display: grid; gap: 8px; }
.second__pic img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 12px; background: var(--mist); }
.second__pic figcaption { font-size: 14px; color: var(--muted); }
.second__pick { justify-self: start; cursor: pointer; }
.second__remove { margin-top: 24px; }
@media (min-width: 900px) { .second { grid-template-columns: 1fr 1fr; } }
.scene__error { grid-column: 1 / -1; margin: 0; font-size: 14px; color: #B42318; }

@media (min-width: 600px) {
	.scene { grid-template-columns: auto 120px minmax(0, 1fr) auto; grid-template-areas: "grip pic name tools" "facts facts facts facts"; align-items: end; }
	.scene__facts-set { grid-template-columns: 1fr 1.4fr 1.2fr 1fr; }
	.scene__grip, .scene img { align-self: center; }
	.scene img { width: 120px; }
}

.acc-bars__dates { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; }
.rooms-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rooms-bars li { display: grid; gap: 6px; }
.rooms-bars__name { font-family: var(--f-head); font-weight: 700; color: var(--navy); }
.rooms-bars .acc-meter__bar { height: 10px; }
.embeds { list-style: none; margin: 0; padding: 0; display: grid; }
.embeds li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.embeds li:last-child { padding-bottom: 0; }
.embeds li:first-child { border-top: 0; }
.embeds a { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.embeds .num { font-weight: 800; color: var(--navy); }
.receipts { list-style: none; margin: 0; padding: 0; display: grid; }
.receipts li + li { border-top: 1px solid var(--line); }
.receipts a { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'what sum' 'date sum'; gap: 2px 16px; align-items: center; padding: 14px 0; color: inherit; text-decoration: none; }
.receipts a:hover strong { color: var(--blue); }
.receipts__what { grid-area: what; display: grid; min-width: 0; }
.receipts__what small { color: var(--muted); font-size: 14px; overflow-wrap: break-word; }
.receipts li:first-child a { padding-top: 0; }
.receipts li:last-child a { padding-bottom: 0; }
.receipts__date { grid-area: date; color: var(--muted); font-size: 14px; }
.receipts__sum { grid-area: sum; font-weight: 800; color: var(--navy); white-space: nowrap; }
.acc-foot { margin-top: 12px; }

/* Connect: the scene on the left, the other scenes beside it. */
.connect { display: grid; gap: 16px; }
.connect__stage { position: relative; padding: 0; overflow: hidden; background: #0E1A2B; }
.connect__stage iframe { display: block; width: 100%; height: min(70vh, 640px); min-height: 320px; border: 0; }
.connect__aim { position: absolute; left: 50%; top: calc(50% - 20px); width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 2px solid rgba(255, 255, 255, .85); border-radius: 50%; box-shadow: 0 0 0 1px rgba(14, 26, 43, .4); pointer-events: none; }
.connect__aim::after { content: ''; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: #fff; }
.connect__state { margin: 0; padding: 10px 16px; font-size: 14px; color: #C9D4E5; background: #0E1A2B; }
.connect__rooms ul { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; gap: 6px; max-height: 560px; overflow-y: auto; }
.connect__rooms li > a { display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 12px; color: inherit; text-decoration: none; transition: background-color .2s ease; }
.connect__rooms li > a:hover { background: var(--mist); }
.connect__rooms li > a[aria-current="page"] { background: #E3F7F9; }
.connect__rooms img { flex: none; width: 72px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--mist); }
.connect__rooms span { display: grid; min-width: 0; }
.connect__rooms strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.connect__rooms small { font-size: 13px; color: var(--muted); }
.connect__rooms small.is-lost { color: #B42318; font-weight: 700; }
.connect__done { width: 100%; }

/* The video (6.40.0): the frame at the video's own size, scaled to fit. */
.video__stage { padding: 0; overflow: hidden; background: #0E1A2B; display: grid; place-items: center; min-height: 240px; }
.video__frame { position: relative; overflow: hidden; }
.video__frame iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; pointer-events: none; }
.video__bar { height: 6px; border-radius: 999px; background: #E7ECF3; overflow: hidden; }
.video__bar span { display: block; width: 0; height: 100%; background: var(--teal); }
.video__state { margin: 0; }
.video__done video { display: block; width: 100%; max-height: 70vh; border-radius: 12px; background: #0E1A2B; }
.video__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.video__rooms ol { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 6px; }
.video__room { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 8px; padding: 8px; border-radius: 12px; background: var(--mist); }
.video__use { grid-column: 1 / -1; }
.video__room select { grid-column: 1; }
.video__move { grid-column: 3; }
.video__room.is-off { opacity: .55; }
.video__use { display: flex; align-items: center; gap: 10px; min-width: 0; cursor: pointer; }
.video__use input { flex: none; width: 18px; height: 18px; accent-color: var(--blue); }
.video__use img { flex: none; width: 56px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.video__use span { min-width: 0; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.video__room select { width: auto; min-height: 36px; padding: 0 8px; font-size: 14px; }
.video__move { display: flex; gap: 4px; }
.video__move .btn { min-width: 32px; padding: 0 8px; }
.video__length { margin: 0; font-weight: 700; }

/* The hotspot dialog. */
/* Fix your photos. */
.enhance__stage { position: relative; padding: 0; overflow: hidden; background: #0E1A2B; line-height: 0; }
.enhance__stage canvas { width: 100%; height: auto; }
.enhance__nadir { position: absolute; left: 0; right: 0; height: 0; border-top: 2px dashed rgba(255, 255, 255, .9); box-shadow: 0 0 0 1px rgba(14, 26, 43, .3); pointer-events: none; }
/* Straighten and blur (6.42.0): guide lines while straightening, and the
   boxes to blur, over the photo */
.enhance__guides { position: absolute; inset: 0; pointer-events: none; background:
	linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .85)) 0 50% / 100% 1px no-repeat,
	repeating-linear-gradient(90deg, rgba(255, 255, 255, .55) 0 1px, transparent 1px 12.5%),
	repeating-linear-gradient(rgba(255, 255, 255, .3) 0 1px, transparent 1px 12.5%); }
.enhance__guides[hidden] { display: none; }
.enhance__boxes { position: absolute; inset: 0; }
.enhance__boxes.is-drawing { cursor: crosshair; touch-action: none; outline: 3px solid var(--teal); outline-offset: -3px; }
.enhance__box { position: absolute; border: 2px solid #FFFFFF; border-radius: 4px; box-shadow: 0 0 0 1px rgba(14, 26, 43, .5); }
.enhance__box.is-live { border-style: dashed; }
.enhance__box button { position: absolute; right: -11px; top: -11px; display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: var(--navy); color: #FFFFFF; font-size: 15px; line-height: 1; cursor: pointer; }
.enhance__busy { position: absolute; right: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(14, 26, 43, .8); color: #fff; font-size: 13px; line-height: 1.4; }

/* A slider with its value beside its name. */
.slider__head { display: flex; justify-content: space-between; gap: 12px; }
.slider__head output { font-family: var(--f-num); font-weight: 800; color: var(--muted); }
.field input[type="range"] { height: var(--control); padding: 0; border: 0; background: none; box-shadow: none; accent-color: var(--blue); }
.field input[type="range"]:focus { box-shadow: none; }
.slider input + input { margin-top: -12px; }
.slider--r { accent-color: #D92D20; }
.slider--g { accent-color: #12B76A; }
.slider--b { accent-color: #2E90FA; }

/* Something long is happening: everything waits for it. */
.busy { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(8, 14, 28, .7); }
.busy > div { display: grid; gap: 6px; max-width: 360px; padding: 24px 28px; border-radius: 20px; background: var(--white); text-align: center; box-shadow: 0 30px 80px rgba(8, 14, 28, .35); }
.busy strong { font-family: var(--f-head); font-size: 20px; color: var(--navy); }
.busy span { color: var(--muted); font-size: 15px; }
.busy > div::before { content: ''; justify-self: center; width: 34px; height: 34px; margin-bottom: 6px; border: 4px solid var(--mist); border-top-color: var(--blue); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .busy > div::before { animation-duration: 3s; } }

/* The carousel: fixed boxes, the scene moving under them. */
.carousel { padding: 0; overflow: hidden; background: #0E1A2B; }
.carousel__stage { position: relative; height: min(62vh, 560px); min-height: 280px; }
.carousel__viewer { position: absolute; inset: 0; }
/* The shade is on the row, not on each box: a box's own shade fell over the
   boxes beside it, so every picture but the last looked dark. */
.carousel__frames { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; pointer-events: none; box-shadow: 0 0 0 9999px rgba(8, 14, 28, .45); }
.carouselFrame { position: relative; flex: none; border: 2px solid #fff; }
.carouselFrame + .carouselFrame { border-left-width: 1px; }
.carouselFrame span { position: absolute; left: 8px; top: 8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--navy); font-family: var(--f-num); font-weight: 800; font-size: 13px; }
.carousel__hint { margin: 0; padding: 10px 16px; font-size: 14px; color: #C9D4E5; }
.carousel__bar { display: grid; gap: 14px; margin-top: 16px; }
@media (min-width: 900px) {
	.carousel__bar { grid-template-columns: auto auto 1fr auto; align-items: end; }
}

/* The account's plans. */
.acc-plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-items: stretch; }
/* Every card the same height, with its rows lined up across the cards: the
   name, the price, what it includes, and the switch and button at the foot */
.acc-plan { display: grid; grid-template-rows: subgrid; grid-row: span 4; gap: 12px; padding: 22px; }
.acc-plan__cost { display: grid; gap: 8px; align-content: start; }
.acc-plan__act { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.acc-plan__act > form { margin-top: auto; }
.acc-plan.is-mine { box-shadow: 0 0 0 2px var(--teal), 0 10px 30px rgba(14, 26, 43, .08); }
.acc-plan__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.acc-plan__head h2 { margin: 0; font-size: 20px; }
.acc-plan__price { margin: 0; color: var(--navy); }
.acc-plan__price .num { font-size: 40px; font-weight: 800; line-height: 1; }
.acc-plan__price small { font-size: 15px; color: var(--muted); }
.acc-plan__save { margin: -6px 0 0; font-size: 14px; font-weight: 700; color: #157A4A; }
/* **The saving's line is always there** (6.71.5): it was hidden on Monthly
   and shown on Yearly, so every switch made the cards jump by a line. Now
   the line keeps its room, empty on Monthly, and the words fade in, rising
   a little, and out again. The price swaps with a quick fade too. */
.acc-plan__save { min-height: 21px; line-height: 21px; opacity: 0; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease; }
.acc-plan__save.is-on { opacity: 1; transform: none; }
.acc-plan__price .num.is-swap { animation: plan-swap .15s ease; }
@keyframes plan-swap { from { opacity: .2; } }
@media (prefers-reduced-motion: reduce) {
	.acc-plan__save { transition: none; transform: none; }
	.acc-plan__price .num.is-swap { animation: none; }
}
.acc-plan__what { margin: 0; padding-left: 18px; display: grid; align-content: start; gap: 6px; font-size: 15px; }
.acc-plan__state { margin: 0; font-size: 14px; line-height: 21px; color: var(--muted); }
.acc-plan__state.is-bad { color: #B42318; font-weight: 700; }
.acc-plan .btn { width: 100%; }
.acc-plan .seg { align-self: stretch; display: flex; }
.acc-plan .seg label { flex: 1; justify-content: center; }

/* Billing: a list of facts, and saved cards. */
.acc-facts { margin: 0; display: grid; }
.acc-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.acc-facts div:first-child { border-top: 0; padding-top: 0; }
.acc-facts dt { color: var(--muted); }
.acc-facts dd { margin: 0; min-width: 0; font-weight: 700; color: var(--navy); text-align: right; overflow-wrap: anywhere; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cards li { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; border: 1px solid var(--line); border-radius: 14px; }
.cards li > span { flex: 1; display: grid; min-width: 0; }
.cards small { color: var(--muted); font-size: 13px; }
.cards img, .cards__generic { display: block; flex: none; width: 44px; height: 30px; object-fit: contain; border-radius: 6px; background: var(--mist); }
.cards li.is-expired { opacity: .65; }

.result__mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; }
.result__mark.is-good { background: #E3F7F9; color: #0F5C63; }
.result__mark.is-bad { background: #FDE7E7; color: #B42318; }

/* The floor plan. */
.plan__help { margin: 0; font-size: 15px; color: var(--muted); }
.plan__map { position: relative; border-radius: 12px; overflow: hidden; background: var(--mist); line-height: 0; }
.plan__map img { width: 100%; height: auto; }
.plan__map.is-placing { cursor: crosshair; outline: 3px solid var(--teal); outline-offset: -3px; }
.plan__point { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 4px; line-height: 1.2; }
.plan__dot { width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50%; background: var(--blue); box-shadow: 0 2px 8px rgba(14, 26, 43, .35); }
.plan__label { position: absolute; top: 22px; display: none; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.plan__map.has-titles .plan__label, .plan__point:hover .plan__label, .plan__point:focus-within .plan__label { display: inline-flex; }
.plan__label button { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; cursor: pointer; }
.plan__label button.is-sure { background: #B42318; }
/* Which way each room faces (6.39.0): a wedge, turned by its white dot */
.plan__face { position: absolute; left: 50%; top: 50%; width: 110px; height: 110px; margin: -55px 0 0 -55px; border-radius: 50%; background: conic-gradient(from 45deg, rgba(61, 193, 206, .7) 0 90deg, transparent 90deg); -webkit-mask: radial-gradient(closest-side, #000 25%, transparent); mask: radial-gradient(closest-side, #000 25%, transparent); transform: rotate(var(--face, 0deg)); pointer-events: none; }
.plan__point.is-unset .plan__face { background: conic-gradient(from 45deg, rgba(120, 132, 150, .45) 0 90deg, transparent 90deg); }
.plan__turn { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; padding: 0; border: 3px solid var(--teal); border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(14, 26, 43, .35); cursor: grab; touch-action: none; transform: rotate(var(--face, 0deg)) translateX(46px); z-index: 2; }
@media (max-width: 599px) { .plan__face { width: 80px; height: 80px; margin: -40px 0 0 -40px; } .plan__turn { transform: rotate(var(--face, 0deg)) translateX(34px); } }
/* On a phone the plan is too small for every name at once: they covered the
   white dots and each other (12 November 2026). A room's name shows when its
   dot is touched, with Delete; "Room names on the plan" still decides what
   visitors see. */
@media (max-width: 599px) {
	.plan__map.has-titles .plan__label { display: none; }
	.plan__map .plan__point:focus-within .plan__label { display: inline-flex; }
	.plan__point:focus-within { z-index: 3; }
}
.plan__turn:active { cursor: grabbing; }
.plan__point.is-unset .plan__turn { border-color: #788496; }
.plan__faces-help { margin: 0; }
.plan__pick { display: flex; align-items: center; gap: 12px; width: 100%; padding: 6px; border: 2px solid transparent; border-radius: 12px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.plan__pick:hover:not(:disabled) { background: var(--mist); }
.plan__pick[aria-pressed="true"] { border-color: var(--teal); background: #E3F7F9; }
.plan__pick:disabled { cursor: default; opacity: .6; }
.plan__pick img { flex: none; width: 72px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--mist); }
.plan__pick span { display: grid; min-width: 0; }
.plan__pick small { font-size: 13px; color: var(--muted); }

/* Floors: a tab for each, then one to add another. Scrolls sideways inside
   itself on a phone rather than making the page do it. */
.fplan-floors { display: flex; gap: 8px; margin: 0 0 16px; padding-bottom: 4px; overflow-x: auto; }
.fplan-floors a, .fplan-floors__add label { flex: none; display: grid; align-content: center; min-height: var(--control); padding: 6px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--navy); font-weight: 700; font-size: 15px; line-height: 1.25; text-decoration: none; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.fplan-floors a small { font-weight: 400; font-size: 13px; color: var(--muted); }
.fplan-floors a:hover, .fplan-floors__add label:hover { border-color: var(--navy); }
.fplan-floors a[aria-current="page"] { border-color: var(--teal); background: #E3F7F9; }
.fplan-move { display: flex; flex-wrap: wrap; gap: 8px; }
.fplan-picture { display: grid; justify-items: start; gap: 6px; }
.fplan-floors__add label { display: inline-flex; align-items: center; gap: 6px; border-style: dashed; color: var(--blue); }

.hs { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 22px; border: 0; border-radius: 20px; box-shadow: 0 30px 80px rgba(8, 14, 28, .35); color: var(--navy); }
.hs::backdrop { background: rgba(8, 14, 28, .55); }
.hs__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.hs__head .acc-h2 { margin: 0; }
.hs__types { display: grid; gap: 8px; }
.hs__types button { display: grid; align-content: start; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--navy); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.hs__types button:hover { border-color: var(--navy); background: var(--mist); }
.hs__types span { font-size: 14px; color: var(--muted); }
/* Nine kinds since 6.59.0: two across where there is room */
@media (min-width: 600px) { .hs__types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hs__target iframe { display: block; width: 100%; height: 220px; border: 0; border-radius: 12px; background: #0E1A2B; }
.hs__arrows { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.hs__arrows label { position: relative; display: grid; place-items: center; height: var(--control); border: 1px solid var(--line); border-radius: 12px; background: #0E1A2B; cursor: pointer; }
.hs__arrows input { position: absolute; opacity: 0; pointer-events: none; }
.hs__arrows img { width: 30px; height: 30px; object-fit: contain; }
.hs__arrows label:has(input:checked) { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal); }
.hs__arrows label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.hs__turn { display: flex; align-items: center; gap: 14px; height: var(--control); }
.field .hs__turn input[type="range"] { flex: 1; height: auto; padding: 0; border: 0; accent-color: var(--blue); }
.hs__turn img { flex: none; width: 40px; height: 40px; padding: 4px; border-radius: 10px; background: #0E1A2B; transition: transform .1s linear; }

@media (min-width: 900px) {
	.connect { grid-template-columns: 1fr 300px; align-items: start; }
}

/* Tabs across a section of the account. They scroll inside themselves on a
   phone, never the page. */
.tabs { display: flex; gap: 4px; margin: 0 0 20px; padding: 4px; overflow-x: auto; scrollbar-width: none; border-radius: 14px; background: var(--mist); max-width: 100%; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { flex: none; display: inline-flex; align-items: center; height: calc(var(--control) - 8px); padding: 0 14px; border-radius: 10px; font-family: var(--f-head); font-weight: 700; font-size: 14px; color: var(--muted); text-decoration: none; white-space: nowrap; transition: background-color .2s ease, color .2s ease; }
.tabs a:hover { color: var(--navy); }
.tabs a[aria-current="page"] { background: var(--white); color: var(--navy); box-shadow: 0 2px 8px rgba(14, 26, 43, .1); }

.acc-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }

/* A list of things to open, each with an action at the end. */
.rows { list-style: none; margin: 0; padding: 0; display: grid; }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; padding-top: 0; }
.rows li:last-child { padding-bottom: 0; }
.rows a { display: grid; gap: 2px; min-width: 0; color: inherit; text-decoration: none; }
.rows a:hover strong { color: var(--blue); }
.rows small a { display: inline; color: var(--link); text-decoration: underline; }
.rows small { color: var(--muted); font-size: 14px; }

/* One item that opens to be changed: a review, an award, a number. */
.item-edit > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; min-height: 24px; }
.item-edit > summary::-webkit-details-marker { display: none; }
.item-edit > summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px; }
.item-edit[open] > summary::after { transform: rotate(-135deg); }
.item-edit > summary > span { display: grid; gap: 2px; min-width: 0; }
.item-edit > summary small { color: var(--muted); font-size: 14px; }
.item-edit[open] > summary { margin-bottom: 18px; }
/* Shut, a card is just its summary: the flex gap would otherwise stay for
   the hidden body, leaving more room under the title than over it */
details.pano-card:not([open]), details.card:not([open]) { gap: 0; }
.item-edit__with-pic { display: flex !important; align-items: center; gap: 12px; }
.item-edit__with-pic img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; background: var(--mist); }
.item-edit__buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }

.icon-btn { display: grid; place-items: center; width: var(--control); height: var(--control); padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy); cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.icon-btn:hover { border-color: var(--navy); }
.icon-btn--danger { color: #B42318; }
.icon-btn--danger:hover { border-color: #B42318; background: #FDE7E7; }

/* The menu builder: one row a link. */
.menu-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.menu-row { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.menu-row.is-child { margin-left: 24px; border-left: 4px solid var(--teal); }
.menu-row__buttons { display: flex; gap: 6px; justify-content: flex-end; align-self: end; }

.file-pick .file-pick__icon { width: 48px; height: 48px; aspect-ratio: 1; object-fit: contain; }
.file-pick--wide img { width: 100%; aspect-ratio: 16 / 7; }

.colour { display: flex; align-items: center; gap: 12px; }
.field .colour input[type="color"] { flex: none; width: var(--control); height: var(--control); padding: 4px; border-radius: 12px; cursor: pointer; }
.colour span { font-weight: 400; font-size: 14px; color: var(--muted); }

/* A few paragraphs with bold, italic, lists and links. */
.rich { border: 1px solid #D6DEEA; border-radius: 14px; background: var(--white); overflow: hidden; }
.rich:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(61, 88, 206, .15); }
.rich__bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-bottom: 1px solid var(--line); background: var(--mist); }
.rich__bar button { height: 36px; min-width: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: var(--navy); font: inherit; font-size: 14px; cursor: pointer; }
.rich__bar button:hover { background: var(--white); }
.rich__area { min-height: 180px; padding: 12px 14px; line-height: 1.6; outline: none; font-weight: 400; }
.rich__area p { margin: 0 0 .8em; }
.field .rich textarea { border: 0; border-radius: 0; box-shadow: none; }

@media (min-width: 600px) {
	.menu-row { grid-template-columns: 1fr 1.4fr 1fr auto; align-items: end; }
}
.news { list-style: none; margin: 0; display: grid; }
.news li { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); }
.news li:first-child { border-top: 0; padding-top: 0; }
.news li:last-child { padding-bottom: 0; }
.news p { margin: 0; }
.receipt { max-width: 760px; padding: 28px 22px; display: grid; gap: 28px; }
.receipt__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 18px; }
.receipt__head img { height: auto; }
.receipt__from { font-size: 14px; line-height: 1.6; color: var(--muted); }
.receipt__from strong { display: block; color: var(--navy); }
.receipt__meta { display: grid; gap: 18px; align-items: start; }
.receipt__meta > div { display: grid; gap: 2px; align-content: start; font-size: 15px; }
.receipt__meta strong { color: var(--navy); }
.receipt__lines { width: 100%; border-collapse: collapse; font-size: 15px; }
.receipt__lines th, .receipt__lines td { padding: 12px 0; text-align: left; border-bottom: 1px solid var(--line); }
.receipt__lines thead th { font-size: 13px; color: var(--muted); font-weight: 700; }
.receipt__lines td.num, .receipt__lines thead th:last-child { text-align: right; }
.receipt__lines tfoot th, .receipt__lines tfoot td { border-bottom: 0; padding-top: 16px; font-size: 18px; font-weight: 800; color: var(--navy); }
.receipt__pay { margin: 0; display: grid; gap: 10px; font-size: 14px; }
.receipt__pay div { display: flex; gap: 12px; }
.receipt__pay dt { min-width: 110px; color: var(--muted); }
.receipt__pay dd { margin: 0; overflow-wrap: anywhere; }
.receipt__foot { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
@media (min-width: 600px) {
	.receipt { padding: 40px; }
	.receipt__from { text-align: right; }
	.receipt__meta { grid-template-columns: repeat(3, 1fr); }
}
@media print {
	.page-receipt .acc-top, .page-receipt .crumbs, .page-receipt .acc-head, .page-receipt .notice, .cookies { display: none !important; }
	.page-receipt, .page-receipt .acc-main { background: #fff !important; }
	.page-receipt .receipt { box-shadow: none; border: 0; max-width: none; padding: 0; }
}
@media (min-width: 600px) {
	.receipts a { grid-template-columns: 1fr 120px 120px; grid-template-areas: 'what date sum'; }
	.receipts__sum { text-align: right; }
}

/* The Cookie Policy's own choice, at the top of the page. */
.legal__choice { display: grid; gap: 12px; margin-bottom: 32px; padding: 20px 24px; }
.legal__choice p { margin: 0; font-weight: 700; color: var(--navy); }
.legal__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.prose table { width: 100%; margin: 16px 0 24px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 800; color: var(--navy); background: var(--mist); }
@media (max-width: 699px) {
	.prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; }
	.prose thead { display: none; }
	.prose tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
	.prose td { padding: 2px 0; border: 0; }
	.prose td:nth-child(2) { font-weight: 800; color: var(--navy); overflow-wrap: anywhere; }
}

/* Save at the top: the bar that follows a long form (site.js). */
/* Under the header (z-index 30), so the header's account menu opens over
   it rather than behind it; still over the page. */
.save-dock { position: sticky; z-index: 25; height: 0; }
.save-dock__bar { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; background: var(--mist); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.save-dock.is-on .save-dock__bar { transform: none; opacity: 1; visibility: visible; }
.save-dock__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-head); font-weight: 800; font-size: 17px; color: var(--navy); }
.save-dock__bar .btn { flex: none; min-height: 42px; padding: 9px 20px; font-size: 15px; }
/* A card with no line under its button keeps that line's room, so the
   buttons still line up with the card that has one */
.acc-plan__act:not(:has(.acc-plan__state))::after { content: ''; display: block; height: 21px; }

/* ------------------------------------------------------------------ icons */
/*
 * One set of line icons, drawn in the text's own colour. Shapes from Lucide
 * (lucide.dev), ISC licence: Copyright (c) Lucide Contributors 2022;
 * portions Copyright (c) Cole Bemis 2013-2022 (Feather, MIT).
 *
 * In a button: data-icon="copy" on the button, drawn before its words. It
 * is CSS, not markup, because scripts change some buttons' words ("Press
 * again to delete it") and would wipe an icon inside them. Copy buttons
 * (data-copy) get theirs without asking. Anywhere else: <span class="ico
 * ico--house" aria-hidden="true"></span>.
 */
[data-icon="copy"], .ico--copy { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='14' x='8' y='8' rx='2'/%3E%3Cpath d='M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2'/%3E%3C/svg%3E"); }
[data-icon="external"], .ico--external { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E"); }
[data-icon="trash"], .ico--trash { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6'/%3E%3Cpath d='M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2'/%3E%3Cpath d='M10 11v6'/%3E%3Cpath d='M14 11v6'/%3E%3C/svg%3E"); }
[data-icon="upload"], .ico--upload { --ico: var(--ico-upload); }
:root { --ico-upload: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m17 8-5-5-5 5'/%3E%3Cpath d='M12 3v12'/%3E%3C/svg%3E"); }
[data-icon="download"], .ico--download { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M12 15V3'/%3E%3C/svg%3E"); }
[data-icon="plus"], .ico--plus { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E"); }
[data-icon="link"], .ico--link { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E"); }
[data-icon="code"], .ico--code { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 18 6-6-6-6'/%3E%3Cpath d='m8 6-6 6 6 6'/%3E%3C/svg%3E"); }
[data-icon="house"], .ico--house { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8'/%3E%3Cpath d='M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
[data-icon="plan"], .ico--plan { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'/%3E%3Cpath d='M3 11h8V3'/%3E%3Cpath d='M15 3v5'/%3E%3Cpath d='M15 12v9'/%3E%3Cpath d='M15 12h6'/%3E%3C/svg%3E"); }
[data-icon="images"], .ico--images { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 22H4a2 2 0 0 1-2-2V6'/%3E%3Cpath d='m22 13-1.296-1.296a2.41 2.41 0 0 0-3.408 0L11 18'/%3E%3Ccircle cx='12' cy='8' r='2'/%3E%3Crect width='16' height='16' x='6' y='2' rx='2'/%3E%3C/svg%3E"); }
[data-icon="film"], .ico--film { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='15' height='12' x='2' y='6' rx='2'/%3E%3Cpath d='m17 10 5-3v10l-5-3'/%3E%3C/svg%3E"); }
[data-icon="qr"], .ico--qr { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='5' height='5' x='3' y='3' rx='1'/%3E%3Crect width='5' height='5' x='16' y='3' rx='1'/%3E%3Crect width='5' height='5' x='3' y='16' rx='1'/%3E%3Cpath d='M21 16h-3a2 2 0 0 0-2 2v3M21 21v.01M12 7v3a2 2 0 0 1-2 2H7M3 12h.01M12 3h.01M12 16v.01M16 12h1M21 12v.01M12 21v-1'/%3E%3C/svg%3E"); }
[data-icon="undo"], .ico--undo { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14 4 9l5-5'/%3E%3Cpath d='M4 9h10.5a5.5 5.5 0 0 1 0 11H11'/%3E%3C/svg%3E"); }
[data-icon="sun"], .ico--sun { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2'/%3E%3Cpath d='M12 20v2'/%3E%3Cpath d='m4.93 4.93 1.41 1.41'/%3E%3Cpath d='m17.66 17.66 1.41 1.41'/%3E%3Cpath d='M2 12h2'/%3E%3Cpath d='M20 12h2'/%3E%3Cpath d='m6.34 17.66-1.41 1.41'/%3E%3Cpath d='m19.07 4.93-1.41 1.41'/%3E%3C/svg%3E"); }
[data-icon="chevron"], .ico--chevron { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E"); }
[data-icon="lock"], .ico--lock { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E"); }
label.btn:has(> input[type=file]) { --ico: var(--ico-upload); }
[data-copy].btn { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='14' x='8' y='8' rx='2'/%3E%3Cpath d='M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2'/%3E%3C/svg%3E"); }
.btn[data-icon]::before, .btn[data-copy]::before, label.btn:has(> input[type=file])::before, .ico { content: ""; flex: none; display: inline-block; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.btn--small[data-icon]::before, .btn--small[data-copy]::before { width: 16px; height: 16px; }
.ico { width: 20px; height: 20px; vertical-align: -4px; }


/* ------------------------------------------------------ the seller report */

/* One Panotour's viewings on one printable sheet (6.41.0,
   site/account/report.blade.php). On screen a sheet on grey with a bar
   along the top; printed, the sheet alone on A4. */
.report-page { background: #E7ECF3; color: var(--ink); }
.report-bar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 16px; background: var(--white); box-shadow: 0 1px 0 #D6DEEA; }
.report-bar__back { font-weight: 700; color: var(--navy); }
.report-bar .seg { align-self: center; }
.report-bar__period { display: inline-flex; align-items: center; height: calc(var(--control) - 8px); padding: 0 14px; border-radius: 10px; font-weight: 700; font-size: 15px; color: #4A5A70; text-decoration: none; }
.report-bar__period[aria-current="page"] { background: var(--white); color: var(--navy); box-shadow: 0 2px 8px rgba(14, 26, 43, .12); }
.report { box-sizing: border-box; max-width: 820px; margin: 24px auto 48px; padding: 40px 44px; background: var(--white); border-radius: 6px; box-shadow: 0 10px 40px rgba(14, 26, 43, .12); }
.report__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-bottom: 18px; border-bottom: 2px solid var(--navy); }
.report__agent { display: flex; align-items: center; gap: 14px; }
.report__agent img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.report__agent div { display: grid; line-height: 1.35; }
.report__agent strong { font-family: var(--f-head); font-weight: 800; font-size: 18px; color: var(--navy); }
.report__agent span, .report__when { font-size: 14px; color: var(--muted); }
.report__when { margin: 0; font-weight: 700; }
.report__title { margin: 26px 0 4px; font-family: var(--f-head); font-weight: 900; font-size: 32px; line-height: 1.15; letter-spacing: -.02em; color: var(--navy); }
.report__sub { margin: 0 0 18px; font-size: 16px; color: var(--muted); }
.report__cover { margin: 0; }
.report__cover img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 10px; background: var(--mist); }
.report__link { margin: 8px 0 0; font-size: 14px; font-weight: 700; color: var(--blue); }
.report__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0; }
.report__stats > div { display: grid; align-content: start; gap: 2px; padding: 16px; border-radius: 12px; background: #F3F6FA; }
.report__stats span { font-size: 13px; font-weight: 700; color: var(--muted); }
.report__stats strong { font-family: var(--f-num, var(--f-head)); font-weight: 900; font-size: 34px; line-height: 1.1; color: var(--navy); }
.report__stats small { font-size: 13px; line-height: 1.4; color: var(--muted); }
.report__block { margin: 0 0 26px; break-inside: avoid; }
.report__block h2 { margin: 0 0 12px; font-family: var(--f-head); font-weight: 800; font-size: 17px; color: var(--navy); }
.report__days { display: grid; grid-template-columns: repeat(var(--days), minmax(0, 1fr)); gap: 2px; align-items: end; height: 120px; padding-bottom: 1px; border-bottom: 1px solid #D6DEEA; }
.report__day { display: flex; align-items: flex-end; height: 100%; }
.report__day i { display: block; width: 100%; border-radius: 2px 2px 0 0; background: var(--teal); }
.report__days-labels { display: grid; grid-template-columns: repeat(var(--days), minmax(0, 1fr)); margin-top: 4px; }
.report__days-labels span { overflow: visible; white-space: nowrap; font-size: 11px; color: var(--muted); }
.report__note { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.report__two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.report__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.report__bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; font-size: 14px; }
.report__bars span { font-weight: 700; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.report__bars small { color: var(--muted); }
.report__bars b { grid-column: 1 / -1; grid-row: 2; display: block; height: 8px; border-radius: 999px; background: #E7ECF3; overflow: hidden; }
.report__bars b i { display: block; height: 100%; border-radius: 999px; background: var(--blue); }
.report__foot { margin-top: 10px; padding-top: 14px; border-top: 1px solid #D6DEEA; font-size: 12px; line-height: 1.5; color: var(--muted); }
.report__foot p { margin: 0 0 4px; }

@media (max-width: 699px) {
	.report-bar { position: static; }
	.report { margin: 0; padding: 24px 16px; border-radius: 0; box-shadow: none; }
	.report__title { font-size: 26px; }
	.report__stats, .report__two { grid-template-columns: minmax(0, 1fr); }
	.report__days-labels span { font-size: 9px; }
}

@media print {
	@page { size: A4; margin: 10mm; }
	.report-page { background: #FFFFFF; }
	.report-bar { display: none; }
	.report { max-width: none; margin: 0; padding: 0; border-radius: 0; box-shadow: none; }
	/* One A4 sheet: a shorter picture and tighter spacing than on screen */
	.report__title { margin-top: 16px; font-size: 26px; }
	.report__sub { margin-bottom: 12px; }
	.report__cover img { aspect-ratio: 4 / 1; }
	.report__stats { margin: 16px 0; }
	.report__stats strong { font-size: 28px; }
	.report__days { height: 90px; }
	.report__block { margin-bottom: 16px; }
	.report__bars { gap: 7px; }
	.report__stats > div { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.report__day i, .report__bars b, .report__bars b i { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Where people looked (6.44.0, heatmap.js) */
/* Compare your Panotours (6.61.0) */
.compare__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 16px; }
.compare__bar form { margin: 0; }
.compare__lead { margin: 0 0 14px; }
.compare { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.compare__row { display: grid; gap: 12px; padding: 14px 16px; }
.compare__pano { display: flex; align-items: center; gap: 12px; min-width: 0; font-family: var(--f-head); font-weight: 800; color: var(--navy); text-decoration: none; }
.compare__pano img { flex: none; width: 72px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; background: var(--mist); }
.compare__pano span { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.compare__pano:hover span { text-decoration: underline; }
.compare__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; }
.compare__nums dt { font-size: 13px; color: var(--muted); }
.compare__nums dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); }
.compare__time dd { display: grid; gap: 6px; }
.compare__room { grid-column: 1 / -1; }
.compare__room dd { font-weight: 400; }
@media (min-width: 900px) {
	.compare__row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 3fr); align-items: center; }
	.compare__nums { grid-template-columns: .7fr .9fr 1.3fr .8fr 1.3fr; }
	.compare__room { grid-column: auto; }
}

/* Where they went next (6.58.0) */
.path__lead { margin: 0 0 12px; }
.path__rooms { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.path__from { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin: 0; font-size: 15px; color: var(--navy); }
.path__rooms .acc-meter li { grid-template-columns: minmax(0, 9em) 1fr 3em; }
@media (min-width: 600px) { .path__rooms .acc-meter li { grid-template-columns: minmax(0, 11em) 1fr 3em; } }
.path__closed .acc-meter__bar span { background: #A3B1C6; }
.path__closed > span:first-child { color: var(--muted); }
.path__key { margin: 14px 0 0; font-size: 13px; }
@media (min-width: 900px) { .path__rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; } }

.heat__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.heat__head .acc-h2 { margin: 0; }
.heat__pick { margin: 0; }
.heat__pick select { min-width: 180px; }
.heat__stage { position: relative; line-height: 0; border-radius: 12px; overflow: hidden; background: var(--mist); }
.heat__stage img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; filter: saturate(.35) brightness(.7); }
.heat__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.heat__key { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; }
.heat__ramp { flex: none; width: 64px; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #3DC1CE, #FAD648, #F37043); }

/* Messages from visitors (6.45.0) */
.messages { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.messages__one.is-new { box-shadow: inset 4px 0 0 var(--teal), var(--shadow, 0 1px 2px rgba(14, 26, 43, .06)); }
.messages__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px 16px; }
.messages__head > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.messages__head strong { font-family: var(--f-head); font-size: 17px; color: var(--navy); }
.messages__head small { flex-basis: 100%; font-size: 14px; color: var(--muted); }
.messages__text { margin: 12px 0; font-size: 16px; line-height: 1.55; overflow-wrap: anywhere; }
.messages__reach { display: flex; flex-wrap: wrap; gap: 8px; }
.messages__reach .btn { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* The link for the seller on the report (6.46.0) */
.report-bar__logo { display: block; height: 24px; width: auto; }
.report-share { box-sizing: border-box; max-width: 820px; margin: 24px auto 0; padding: 18px 20px; border-radius: 12px; background: var(--white); box-shadow: 0 1px 2px rgba(14, 26, 43, .08); }
.report-share h2 { margin: 0 0 4px; font-family: var(--f-head); font-weight: 800; font-size: 17px; color: var(--navy); }
.report-share p { margin: 0 0 12px; font-size: 15px; color: var(--muted); }
.report-share__link { display: flex; gap: 8px; margin-bottom: 10px; }
.report-share__link input { flex: 1; min-width: 0; min-height: 38px; padding: 6px 12px; border: 1px solid #D6DEEA; border-radius: 10px; font: 700 14px/1.3 var(--f-num); color: var(--navy); background: #F3F6FA; }
.report-share__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.report--gone { text-align: center; }
@media (max-width: 699px) { .report-share { margin: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid #D6DEEA; } }
@media print { .report-share { display: none; } }

/* The listing kit (6.47.0) */
.kit__qr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; }
.kit__qr > img { width: 180px; height: 180px; border-radius: 12px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #D6DEEA; }
.kit__text { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #D6DEEA; border-radius: 12px; background: #F3F6FA; font: 400 15px/1.5 Lato, system-ui, sans-serif; color: var(--ink); resize: vertical; }
@media (max-width: 599px) { .kit__qr { grid-template-columns: minmax(0, 1fr); justify-items: start; } }

/* The poster (6.47.0, site/account/poster.blade.php): an A4 sheet on screen
   and on paper */
.poster { box-sizing: border-box; width: 100%; max-width: 794px; margin: 24px auto 48px; background: #FFFFFF; box-shadow: 0 10px 40px rgba(14, 26, 43, .12); overflow: hidden; display: flex; flex-direction: column; }
.poster__cover { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.poster__body { padding: 32px 44px 20px; }
.poster__title { margin: 0; font-family: var(--f-head); font-weight: 900; font-size: 40px; line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
.poster__address { margin: 8px 0 0; font-size: 18px; color: var(--muted); }
.poster__facts { margin: 8px 0 0; font-family: var(--f-head); font-weight: 700; font-size: 19px; color: var(--ink); }
.poster__scan { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; align-items: center; margin: 28px 0; padding: 20px; border-radius: 16px; background: #F3F6FA; }
.poster__scan img { width: 210px; height: 210px; background: #FFFFFF; border-radius: 8px; }
.poster__scan strong { display: block; font-family: var(--f-head); font-weight: 900; font-size: 28px; line-height: 1.15; color: var(--navy); }
.poster__scan p { margin: 10px 0 0; font-size: 17px; line-height: 1.45; color: var(--ink); }
.poster__scan .poster__link { font-family: var(--f-num); font-weight: 800; font-size: 15px; color: var(--blue); overflow-wrap: anywhere; }
.poster__agent { display: flex; align-items: center; gap: 16px; padding-top: 18px; border-top: 2px solid var(--navy); }
.poster__agent img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.poster__agent div { display: grid; }
.poster__agent strong { font-family: var(--f-head); font-weight: 800; font-size: 24px; color: var(--navy); }
.poster__agent span { font-family: var(--f-num); font-weight: 800; font-size: 22px; color: var(--ink); }
.poster__foot { margin: auto 44px 20px; font-size: 12px; color: var(--muted); }
@media (max-width: 699px) {
	.poster { margin: 0; box-shadow: none; }
	.poster__body { padding: 20px 16px; }
	.poster__title { font-size: 28px; }
	.poster__scan { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
	.poster__foot { margin: 0 16px 16px; }
}
@media print {
	.poster { max-width: none; margin: 0; box-shadow: none; height: 277mm; }
	.poster__cover { aspect-ratio: auto; height: 105mm; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.poster__scan { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Choosing a whole folder of scenes (6.52.0) */
.drop__folder { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.drop__folder label { font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }

/* Templates for new Panotours (6.53.0) */
.pano-template { margin-top: 16px; }
.pano-template__save { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.pano-template__save .field { flex: 1 1 240px; margin: 0; }
/* One column that may shrink: left to itself the column is as wide as the
   longest name, and a long one pushed the page sideways on a phone (6.72.1) */
.pano-template__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.pano-template__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 12px; border-radius: 10px; background: var(--mist); }
.pano-template__list span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.pano-template__pick { margin-bottom: 20px; }

/* Little planets (6.54.0) */
.planets__bar { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px 24px; margin-bottom: 16px; }
.planets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.planets__one { min-width: 0; padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.planets__one canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; background: var(--mist); cursor: grab; touch-action: none; }
.planets__one canvas:active { cursor: grabbing; }
.planets__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.planets__foot strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 599px) { .planets__bar { grid-template-columns: minmax(0, 1fr); } }

/* Change several Panotours at once (6.55.0) */
.acc-row { position: relative; }
.acc-row__pick { position: absolute; left: 4px; top: 4px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--white); box-shadow: 0 2px 8px rgba(14, 26, 43, .2); cursor: pointer; }
.acc-row__pick[hidden] { display: none; }
.acc-row__pick input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.bulk { position: sticky; bottom: 12px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; padding: 12px 16px; box-shadow: 0 12px 40px rgba(14, 26, 43, .22); }
.bulk[hidden] { display: none; }
.bulk__count { font-family: var(--f-head); font-weight: 800; color: var(--navy); min-width: 96px; }
.bulk .field { margin: 0; }
.bulk select, .bulk input[type="text"] { min-height: 40px; }
.bulk__value { display: flex; flex-wrap: wrap; flex-direction: row; gap: 8px; }
.bulk__value select, .bulk__value input { width: auto; }
.bulk__value[hidden], .bulk__value [hidden] { display: none; }
.bulk__go { display: flex; gap: 8px; margin-left: auto; }
@media (max-width: 599px) { .bulk__go { margin-left: 0; width: 100%; } .bulk__go .btn { flex: 1; } }
