/*
 * Framer's plugin stylesheet goes into its own cascade layer. Unlayered rules always beat layered ones, so the
 * plugin's styles and the embedded demo player keep their colours over Framer's element defaults (for example the
 * dark theme's button background), whatever the selector specificity.
 */

@layer framer {

/* Global Framer Plugin CSS */
}

@layer framer {

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("https://framerusercontent.com/assets/mYcqTSergLb16PdbJJQMl9ebYm4.woff2") format("woff2");
	unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("https://framerusercontent.com/assets/ZRl8AlxwsX1m7xS1eJCiSPbztg.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("https://framerusercontent.com/assets/nhSQpBRqFmXNUBY2p5SENQ8NplQ.woff2") format("woff2");
	unicode-range: U+1F00-1FFF;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("https://framerusercontent.com/assets/DYHjxG0qXjopUuruoacfl5SA.woff2") format("woff2");
	unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("https://framerusercontent.com/assets/wx5nfqEgOXnxuFaxB0Mn9OhmcZA.woff2") format("woff2");
	unicode-range:
		U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309,
		U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("https://framerusercontent.com/assets/s7NH6sl7w4NU984r5hcmo1tPSYo.woff2") format("woff2");
	unicode-range:
		U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
		U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("https://framerusercontent.com/assets/7lw0VWkeXrGYJT05oB3DsFy8BaY.woff2") format("woff2");
	unicode-range:
		U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
		U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
}

@layer framer {
/* Reset */

:root {
	--framer-font-family: "Inter", system-ui, Avenir, Helvetica, Arial, sans-serif;
}

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

* {
	margin: 0;
	padding: 0;
}

body,
html,
#root {
	height: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

body {
	font-family: var(--framer-font-family);
	font-size: 12px;
	line-height: 1.5;
	font-weight: 500;

	color: var(--framer-color-text, #333);
	background: var(--framer-color-bg, #fff);
	color-scheme: light dark;

	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings:
		"cv01" 1,
		"cv05" 1,
		"cv09" 1,
		"cv11" 1;
}

*::selection {
	background-color: var(--framer-color-tint-dimmed, rgba(0, 153, 255, 0.1));
	color: var(--framer-color-tint, #09f);
}

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

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
	user-select: none;
}

p {
	color: var(--framer-color-text-secondary);
}

a {
	text-decoration: none;
	color: var(--framer-color-tint, #09f);
}

/* Elements */

input,
button,
textarea,
select {
	overflow: hidden;
	text-overflow: ellipsis;
	flex-shrink: 0;
	height: 30px;
	width: 134px;
	color: var(--framer-color-text);
	font-size: 12px;
	font-family: var(--framer-font-family);
	caret-color: var(--framer-color-text);
	background: var(--framer-color-bg-tertiary);
	border-radius: 8px;
	font-weight: 500;
	padding: 0px 8px;
	outline: none;
	border: none;
	font-feature-settings:
		"cv01" 1,
		"cv05" 1,
		"cv09" 1,
		"cv11" 1;
}

input[type="tel"],
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="color"] {
	white-space: nowrap;
	padding: 0px 8px;
	font-size: 12px;
	color: var(--framer-color-text);
}

input:focus,
select:focus {
	box-shadow: inset 0 0 0 1px var(--framer-color-tint);
}

[data-framer-theme="dark"] input {
	caret-color: #fff;
}

[data-framer-theme="light"] {
	color-scheme: light;
}

[data-framer-theme="dark"] {
	color-scheme: dark;
}

input[type="checkbox"] {
	appearance: none;
	width: 14px;
	height: 14px;
	margin: 0;
	padding: 0;
	border-radius: 4px;
	border: none;
	background-color: var(--framer-color-control);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

input[type="checkbox"]:checked {
	background-color: var(--framer-color-tint);
	border: none;
	box-shadow: none;
	background-position: center center;
	background-size: 12px 12px;
	background-repeat: no-repeat;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none'><path d='m2.5 6.5 1.293 1.293a1 1 0 0 0 1.414 0L9 4' fill='transparent' stroke-width='1.75' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round'></path></svg>");
}

[data-framer-theme="dark"] input[type="checkbox"] {
	background-color: var(--framer-color-control);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

[data-framer-theme="dark"] input[type="checkbox"]:checked {
	background-color: var(--framer-color-tint);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

input[type="checkbox"]:disabled,
input:not([type]):disabled,
input[type="date"]:disabled,
input[type="datetime-local"]:disabled,
input[type="email"]:disabled,
input[type="month"]:disabled,
input[type="number"]:disabled,
input[type="password"]:disabled,
input[type="search"]:disabled,
input[type="tel"]:disabled,
input[type="text"]:disabled,
input[type="time"]:disabled,
input[type="url"]:disabled,
input[type="week"]:disabled,
input[type="range"]:disabled,
textarea:disabled {
	opacity: 0.5;
	cursor: default;
}

input[type="checkbox"]:not(:disabled),
input[type="radio"]:not(:disabled),
select:not(:disabled) {
	cursor: pointer;
}

input[type="radio"] {
	position: relative;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	padding: 0;
	border: none;
	border-radius: 50%;
	margin: 3px 2px;
	appearance: none;
	outline: none;
	background-color: var(--framer-color-control);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

input[type="radio"]::before {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	content: "";
	transform: scale(0);
}

input[type="radio"]:disabled {
	opacity: 0.3;
}

input[type="radio"]:focus {
	box-shadow: none;
}

input[type="radio"]:checked {
	background-color: var(--framer-color-tint);
	box-shadow: none;
}

input[type="radio"]:checked::before {
	transform: scale(1);
}

[data-framer-theme="dark"] input[type="radio"] {
	background-color: var(--framer-color-control);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

[data-framer-theme="dark"] input[type="radio"]:checked {
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

hr {
	border: none;
	width: 100%;
	flex-shrink: 0;
	height: 1px;
	background-color: var(--framer-color-divider);
}

textarea {
	height: 50px;
	min-height: 30px;
	padding: 8px;
	resize: vertical;
}

textarea:focus {
	box-shadow: inset 0 0 0 1px var(--framer-color-tint);
}

textarea::-webkit-resizer {
	border: 1px solid transparent;
	background: no-repeat
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='9'><path d='M 1.5 7.5 L 7.5 1.5' fill='transparent' stroke-width='1.5' stroke='%23CCCCCC' stroke-linecap='round'></path><path d='M 5.5 7.5 L 7.5 5.5' fill='transparent' stroke-width='1.5' stroke='%23CCCCCC' stroke-linecap='round'></path></svg>");
}

input::placeholder {
	color: var(--framer-color-text-tertiary);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	appearance: none;
	margin: 0;
}

input::placeholder,
textarea::placeholder {
	color: var(--framer-color-text-tertiary);
}

[data-framer-theme="dark"] textarea::-webkit-resizer {
	border: 1px solid transparent;
	background: no-repeat
		url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='9' height='9'><path d='M 1.5 7.5 L 7.5 1.5' fill='transparent' stroke-width='1.5' stroke='%23555555' stroke-linecap='round'></path><path d='M 5.5 7.5 L 7.5 5.5' fill='transparent' stroke-width='1.5' stroke='%23555555' stroke-linecap='round'></path></svg>");
}

input[type="number"],
input[type="date"],
input[type="time"],
input[type="datetime-local"] {
	font-variant-numeric: tabular-nums;
	font-feature-settings:
		"cv01" 1,
		"cv05" 1,
		"cv09" 1,
		"cv11" 1,
		"tnum" 1;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="week"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator {
	width: 14px;
	height: 14px;
	outline: none;
	box-shadow: none;
	border: none;
	padding: 2px;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="week"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator {
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14'><path d='M2 4a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2H2Z' fill='%23999' opacity='.3'/><path d='M2.25 4.25a2 2 0 0 1 2-2h5.5a2 2 0 0 1 2 2v5.5a2 2 0 0 1-2 2h-5.5a2 2 0 0 1-2-2ZM2 5.75h9.5' fill='transparent' stroke-width='1.5' stroke='%23999'/></svg>")
		no-repeat;
	-webkit-background-position: 5px 2.5px;
	background-position: 5px 2.5px;
}

input[type="time"]::-webkit-calendar-picker-indicator {
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='14' height='14'><g><defs><path d='M 1 7 C 1 3.686 3.686 1 7 1 L 7 1 C 10.314 1 13 3.686 13 7 L 13 7 C 13 10.314 10.314 13 7 13 L 7 13 C 3.686 13 1 10.314 1 7 Z' id='a1080z'/><clipPath id='a1081z'><use xlink:href='%23a1080z'/></clipPath></defs><use xlink:href='%23a1080z' fill='transparent' clip-path='url(%23a1081z)' stroke-width='3' stroke='%23999999'/></g><path d='M 7 4.5 L 7 7 L 9.5 7' fill='transparent' stroke-width='1.5' stroke='%23999999' stroke-linecap='round'/></svg>")
		no-repeat;
	-webkit-background-position: 5px 2.5px;
	background-position: 5px 2.5px;
}

button {
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-weight: 600;
	width: 100%;
	user-select: none;
	background-color: var(--framer-color-bg-tertiary);
	transition: background-color 0.2s;
}

button:focus,
button:hover {
	background-color: var(--framer-color-bg-secondary);
}

button:active {
	background-color: #ddd;
}

[data-framer-theme="dark"] button:active {
	background-color: #232323;
}

button:disabled {
	background-color: var(--framer-color-bg-tertiary);
	opacity: 0.5;
	cursor: default;
}

select {
	background-position: right 8px center;
	background-repeat: no-repeat;
	color: var(--framer-color-text);
	appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8' fill='none'><path d='m1 2.75 2.293 2.293a1 1 0 0 0 1.414 0L7 2.75' fill='transparent' stroke-width='1.5' stroke='%23888888' stroke-linecap='round' stroke-linejoin='round'></path></svg>");
	padding: 0px 20px 1px 8px;
}

select:disabled {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8' fill='none'><path d='m1 2.75 2.293 2.293a1 1 0 0 0 1.414 0L7 2.75' fill='transparent' stroke-width='1.5' stroke='%23bbbbbb' stroke-linecap='round' stroke-linejoin='round'></path></svg>");
}

[data-framer-theme="dark"] select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8' fill='none'><path d='m1 2.75 2.293 2.293a1 1 0 0 0 1.414 0L7 2.75' fill='transparent' stroke-width='1.5' stroke='%23999999' stroke-linecap='round' stroke-linejoin='round'></path></svg>");
}

input[type="range"] {
	cursor: ew-resize;
	height: 30px;
	margin: 0;
	overflow: hidden;
	appearance: none;
	background-color: var(--framer-color-bg-tertiary);
}

input[type="range"]::-moz-range-thumb {
	appearance: none;
	background-color: transparent;
	border: none;
	border-radius: 50%;
	transform: translateX(0px);
	box-shadow: -1000px 0px 0px 1000px #cccccc;
	height: 10px;
	width: 0px;
}

input[type="range"]::-webkit-slider-thumb {
	appearance: none;
	background-color: transparent;
	border: none;
	border-radius: 50%;
	transform: translateX(0px);
	box-shadow: -1000px 0px 0px 1000px #cccccc;
	height: 10px;
	width: 0px;
}

[data-framer-theme="dark"] input[type="range"]::-webkit-slider-thumb {
	box-shadow: -1000px 0px 0px 1000px #666;
}

[data-framer-theme="dark"] input[type="range"]::-moz-range-thumb {
	box-shadow: -1000px 0px 0px 1000px #666;
}

/* Rule is not shared with `input[type="range"]::-moz-focus-outer` otherwise it does not work.  */
input[type="range"]:focus {
	border: 0;
	box-shadow: none;
	outline: none;
}

input[type="range"]::-moz-focus-outer {
	border: 0;
	box-shadow: none;
	outline: none;
}

input[type="color" i] {
	border-style: none;
	padding: 0px;
}

input[type="color"]::-webkit-color-swatch-wrapper {
	border-style: none;
	padding: 0;
}

input[type="color"]::-moz-color-swatch {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-style: none;
	border-radius: 4px;
}

input[type="color"]::-webkit-color-swatch {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-style: none;
	border-radius: 4px;
}

input[type="color"] {
	appearance: none;
	padding: 8px;
}

input[type="file"] {
	background: none;
	border-radius: 0;
	width: auto;
	display: inline;
	padding: 0;
}

input[type="file"]:focus {
	box-shadow: none;
	outline: none;
}

input::file-selector-button {
	color: var(--framer-color-text);
	background-color: var(--framer-color-bg-tertiary);
	font-family: var(--framer-font-family);
	font-weight: 600;
	border-radius: 8px;
	cursor: pointer;
	outline: none;
	border: none;
	height: 30px;
	padding: 0px 8px;
	margin-right: 8px;
}

input::file-selector-button:hover {
	background-color: var(--framer-color-bg-secondary);
}

[data-framer-theme="dark"] button,
[data-framer-theme="dark"] input,
[data-framer-theme="dark"] textarea,
[data-framer-theme="dark"] select {
	background-color: var(--framer-color-control);
}

[data-framer-theme="dark"] button:not(:disabled):focus,
[data-framer-theme="dark"] button:not(:disabled):hover {
	background-color: var(--framer-color-control-hover);
}

/* Built-in Classes */

.framer-divider {
	height: 1px;
	width: 100%;
	background-color: var(--framer-color-divider);
}

.framer-button-primary {
	color: var(--framer-color-text-reversed);
	background-color: var(--framer-color-tint);
}

.framer-button-primary:hover,
.framer-button-primary:focus {
	background-color: var(--framer-color-tint-dark);
}

.framer-button-primary:active {
	background-color: var(--framer-color-tint-extra-dark, #0077ff);
}

[data-framer-theme="dark"] .framer-button-primary:active {
	background-color: var(--framer-color-tint-extra-dark, #0077ff);
}

[data-framer-theme="dark"] .framer-button-primary {
	background-color: var(--framer-color-tint);
}

[data-framer-theme="dark"] .framer-button-primary:not(:disabled):hover,
[data-framer-theme="dark"] .framer-button-primary:not(:disabled):focus {
	background-color: var(--framer-color-tint-dark);
}

.framer-button-primary:disabled {
	background-color: var(--framer-color-tint);
	opacity: 0.5;
}

#framer-environment-error {
	all: unset;
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	flex-direction: column;
	gap: 10px;
	top: 0;
	left: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	background: white;
	padding: 20px;
	background: #fff;
}

#framer-environment-error > p {
	all: unset;
	color: #666;
	font-size: 12px;
	line-height: 1.5;
	max-width: 220px;
	margin: 0;
	padding: 0;
	text-align: center;
}

#framer-environment-error > p > a {
	all: unset;
	text-decoration: none;
	color: var(--framer-color-tint, #09f);
}

/* Spinner */

.framer-spinner {
	width: 12px;
	height: 12px;
	--spinner-translate: 0;
	background-color: var(--framer-color-text);
	mask: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAApNJREFUSA2tlUtLlFEYgEe7mtFFQ8NLFBG1SJAwahtiLVy5ceVSEPQH1LZf0Lp9FO1bdYNyI7gyBFcS2kAzilYq3sfxeYZ55Zv6FGfohWfOd97vnPd23u9MXeZoaeb1Q7gPHXAFzsAS5GACxiEPqVKXqs1kmtAPQi+cAtedToz1PJ8ExxPwDl7CAlRImoN7rBiF86ABHTiGAzMIh8n3O+ifwWc4EL0n5TGTYQijvjNSxbUadozInUeGZ3nuh1WYgpIkM+hGMwYajAgdrfUn+AaLoLTCAxiAOxCZxL4RdB+gZMjxEjwHo4hS8Jh5DR9hz0mKaNizegoNEI7Wee6FXJTISG6AUgDr+QImoAiHie+mwZJow/PRps4uwnsnRj8Epqc4voVJJ8eULOtW4BFYYjPpgjc+3IWI2sh/wFeoVl6xYQ48dDGLfjOwc/ygQqz595hUMVouS9QHBm4l6k3HWpnBLqicgVrlCxujSbR1Swd+UDpQYRS/oVaZZ2MWwlZBB9Zdxf+QTYw8SRgq6sAvz7vH6JULEB9USVHFjzZskgPRQR4ayxoXXIdaHdg9HrB2rErByWxZERnYtrWUzD0esDbtTmXPhzXwHrKLxEUbYGbVyDkWWwkdadfqbPmwDXZSCyh2VAf8BM/nOOJH5Y0QopMt2I5U/KO4DZZJB47XwEX+ex0mGroMV8sLwp56gyuGwiyW4SZ4c8bt2cZzO7jBNeqtsRHbeZ1g9krsMbhfYPv/c5gecA+4yAVuitFszE5Hjva872OMdXagF19JIoOYWyozMTI3J0tmA6gLvXPfO1cc/XOqOLe/HbjwD8yCXRD3VNJROEgatiRZMJsKsbZHia3nAdphtq8fkiWyXJbBe8uM1aXKPouNnz2Bm1kwAAAAAElFTkSuQmCC");
	mask-size: 12px;

	animation-duration: 800ms;
	animation-iteration-count: infinite;
	animation-name: spin;
	animation-timing-function: linear;
}

.framer-spinner-large {
	width: 24px;
	height: 24px;
	--spinner-translate: 0;
	mask: url("data:image/png;base64,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");
	mask-size: 24px;
	background-color: var(--framer-color-text);
	animation-duration: 800ms;
	animation-iteration-count: infinite;
	animation-name: spin;
	animation-timing-function: linear;
}

.framer-button-primary .framer-spinner,
.framer-button-primary .framer-spinner-large {
	background-color: var(--framer-color-text-reversed);
}

@keyframes spin {
	0% {
		transform: translate(var(--spinner-translate), var(--spinner-translate)) rotate(0deg);
	}

	100% {
		transform: translate(var(--spinner-translate), var(--spinner-translate)) rotate(360deg);
	}
}

/* Hide scrollbar */

.framer-hide-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.framer-hide-scrollbar::-webkit-scrollbar {
	display: none;
}
}
/*
 * Case Study Builder plugin UI.
 * Calm, neutral chrome from Framer's own tokens (light and dark follow Framer), Framer's tint for primary actions,
 * and one signature colour: the ember used for the section outline's selection, drop targets and status marks.
 * The composed case study is always the brightest thing on screen.
 *
 * Framer sets its theme tokens inline on <body> (and data-framer-theme on body), so every alias is declared on body
 * too: a var() alias declared only on :root would resolve against tokens that don't exist there.
 */
:root,
body {
    --mark: #d9532b;
    --mark-soft: rgba(217, 83, 43, 0.13);
    --mark-ink: #ffffff;
    --mark-strong: #b8421f;
    --ok: #18a058;
    --ok-ink: #0d6b3a;
    --warn-ink: #855200;
    --bad-ink: #b3261e;
    --warn: #d98a00;
    --bad: #e5484d;
    --radius-s: 6px;
    --radius-m: 10px;
    --radius-l: 14px;
    --bar-h: 48px;
    --rail-w: 264px;
    --insp-w: 336px;
    --line: var(--framer-color-divider);
    --bg: var(--framer-color-bg);
    --bg2: var(--framer-color-bg-secondary);
    --bg3: var(--framer-color-bg-tertiary);
    --text: var(--framer-color-text);
    --text2: var(--framer-color-text-secondary);
    --text3: var(--framer-color-text-tertiary);
    --link: var(--framer-color-tint);
    --tint: var(--framer-color-tint);
    --tint-dim: var(--framer-color-tint-dimmed);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.06), 0 6px 20px -8px rgba(0, 0, 0, 0.18);
}
[data-framer-theme="light"],
[data-framer-theme="light"] body {
    /* Framer's light tertiary text is too faint for small hints; this keeps the hierarchy at WCAG AA contrast. */
    --text3: #6f6f6f;
    /* Framer's tint is too light for small text links on white; this shade keeps them at WCAG AA contrast. */
    --link: #0068c4;
}
.framer-button-primary:not(:disabled),
[data-framer-theme] .framer-button-primary:not(:disabled) {
    /* The project's own tint, deepened so white button text keeps WCAG AA contrast at rest, on hover and on focus, in both themes. */
    background: color-mix(in srgb, var(--framer-color-tint, #0099ff) 74%, #000);
    color: #fff;
}
.framer-button-primary:not(:disabled) .framer-spinner {
    background-color: #fff;
}
.framer-button-primary:not(:disabled):hover,
.framer-button-primary:not(:disabled):focus,
[data-framer-theme] .framer-button-primary:not(:disabled):hover,
[data-framer-theme] .framer-button-primary:not(:disabled):focus {
    background: color-mix(in srgb, var(--framer-color-tint, #0099ff) 66%, #000);
}
.framer-button-primary:disabled {
    /* A finished or unavailable action stays readable instead of fading into the tint. */
    background: var(--bg3, var(--framer-color-bg-tertiary));
    color: var(--text2);
    opacity: 1;
}
[data-framer-theme="dark"],
[data-framer-theme="dark"] body {
    /* Framer's dark tertiary text is too faint for small hints; this keeps the hierarchy at WCAG AA contrast. */
    --text3: #9a9a9a;
    /* A lighter shade of the tint keeps small text links at WCAG AA contrast on dark panels. */
    --link: #5cbcff;
    --ok-ink: #63d9a0;
    --warn-ink: #f2b955;
    --bad-ink: #ff9a9a;
    --mark-soft: rgba(240, 120, 80, 0.24);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 26px -10px rgba(0, 0, 0, 0.7);
}

html,
body,
#root {
    height: 100%;
}
/* Every screen scrolls inside its own panels. Framer's stylesheet makes html a scroll container (overflow-x hidden),
   which would otherwise let the whole window drift when something extends past the bottom edge. */
html,
body,
#root {
    overflow: hidden;
}
button,
input,
textarea,
select {
    width: auto;
}
input[type="checkbox"] {
    flex: none;
    width: 14px;
    height: 14px;
    margin: 0;
}
p,
h1,
h2,
h3 {
    user-select: text;
}
:focus-visible {
    outline: 2px solid var(--tint);
    outline-offset: 1px;
}
.sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.icon {
    fill: currentColor;
    flex: none;
}
.muted {
    color: var(--text2);
}
.faint {
    color: var(--text3);
}
.error-text {
    color: var(--bad-ink);
}

/* ------------------------------------------------------------------ buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--bg3);
    color: var(--text);
    font-weight: 600;
    white-space: nowrap;
}
.btn.ghost {
    background: transparent;
}
.btn.ghost:hover:not(:disabled) {
    background: var(--bg3);
}
.btn.icon-only {
    width: 30px;
    padding: 0;
}
.btn.danger {
    color: var(--bad-ink);
}
.btn.small {
    height: 26px;
    padding: 0 8px;
    font-size: 11.5px;
}
.btn.wide,
.framer-button-primary.wide {
    width: 100%;
}
.framer-button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    font-weight: 600;
    white-space: nowrap;
}
.link-btn {
    background: none;
    height: auto;
    padding: 0;
    color: var(--link);
    font-weight: 600;
    width: auto;
}
.link-btn:hover {
    text-decoration: underline;
    background: none !important;
}

/* ------------------------------------------------------------------ form kit */
.field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.field-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}
.field-head label,
.label {
    font-weight: 600;
    color: var(--text);
}
.count {
    color: var(--text3);
    font-variant-numeric: tabular-nums;
    font-size: 11px;
}
.count.over {
    color: var(--warn);
}
.hint {
    color: var(--text3);
    font-size: 11px;
    line-height: 1.45;
}
.field input[type="text"],
.field input[type="url"],
.field textarea,
.field select,
.input {
    width: 100%;
}
.field textarea {
    min-height: 72px;
    padding: 7px 8px;
    line-height: 1.45;
    resize: vertical;
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
    box-shadow: inset 0 0 0 1px var(--bad);
}
.row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.row.between {
    justify-content: space-between;
}
.grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.grid4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}
.num {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.num label {
    color: var(--text3);
    font-size: 10.5px;
    font-weight: 600;
}
.num input {
    width: 100%;
    font-variant-numeric: tabular-nums;
    padding-right: 4px;
}
.toggle-row {
    justify-content: space-between;
    min-height: 30px;
}
.toggle-row label {
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.switch {
    width: 32px;
    height: 18px;
    border-radius: 9px;
    padding: 2px;
    background: var(--framer-color-control, var(--bg3));
    position: relative;
    flex: none;
}
.switch span {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s;
}
.switch[aria-checked="true"] {
    background: var(--tint);
}
.switch[aria-checked="true"] span {
    transform: translateX(14px);
}
.segmented {
    display: flex;
    gap: 2px;
    padding: 2px;
    background: var(--bg3);
    border-radius: 8px;
    min-width: 0;
}
.segmented button {
    flex: 1;
    white-space: nowrap;
    height: 26px;
    border-radius: 6px;
    background: transparent;
    color: var(--text2);
    font-weight: 600;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
}
.segmented button[aria-checked="true"],
.segmented button[aria-pressed="true"] {
    background: var(--bg);
    color: var(--text);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
[data-framer-theme="dark"] .segmented button[aria-checked="true"],
[data-framer-theme="dark"] .segmented button[aria-pressed="true"] {
    background: var(--framer-color-control-hover, #3a3a3a);
}
.segmented.compact button {
    /* Sized by their labels so a longer option is never cut short. */
    flex: 1 1 auto;
    padding: 0 6px;
    font-size: 11.5px;
}
.color-list {
    /* As many colours per row as show their full value. */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 10px 12px;
}
.color-field {
    display: flex;
    gap: 6px;
    align-items: center;
}
.color-field input[type="color"] {
    width: 30px;
    height: 30px;
    padding: 3px;
    flex: none;
}
.color-field input[type="text"] {
    flex: 1;
    min-width: 0;
    font-variant-numeric: tabular-nums;
    text-transform: uppercase;
}
.notice {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 9px 10px;
    border-radius: var(--radius-m);
    background: var(--bg2);
    color: var(--text2);
    line-height: 1.45;
}
.notice.warn {
    background: color-mix(in srgb, var(--warn) 12%, var(--bg));
    color: var(--text);
}
.notice.bad {
    background: color-mix(in srgb, var(--bad) 12%, var(--bg));
    color: var(--text);
}
.notice.good {
    background: color-mix(in srgb, var(--ok) 12%, var(--bg));
    color: var(--text);
}
.notice .icon {
    margin-top: 1px;
}

/* ------------------------------------------------------------------ dialog */
.scrim {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.32);
    animation: fade 0.15s ease;
}
.dialog {
    width: min(460px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    background: var(--bg);
    border-radius: var(--radius-l);
    padding: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: pop 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.dialog:focus {
    outline: none;
}
.dialog.wide {
    width: min(640px, 100%);
}
.dialog-title {
    font-size: 15px;
    font-weight: 650;
    color: var(--text);
    letter-spacing: -0.01em;
}
.dialog-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--text2);
    line-height: 1.5;
}
.dialog-body ul {
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}
@keyframes fade {
    from {
        opacity: 0;
    }
}
@keyframes pop {
    from {
        opacity: 0;
        transform: translateY(6px) scale(0.98);
    }
}

/* ------------------------------------------------------------------ app shells */
.center-screen {
    height: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
}
.title {
    font-size: 16px;
    font-weight: 650;
}

/* ------------------------------------------------------------------ gate */
.gate {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr);
    overflow: hidden;
}
.gate-story {
    position: relative;
    padding: 36px 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: var(--bg2);
    overflow: auto;
}
.gate-story > *,
.gate-panel > * {
    flex: none;
}
.gate-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 650;
    color: var(--text);
}
.gate-title {
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.035em;
    font-weight: 700;
    color: var(--text);
    max-width: 24ch;
}
.gate-lead {
    font-size: 13.5px;
    line-height: 1.55;
    max-width: 52ch;
}
.gate-demo {
    border-radius: var(--radius-l);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: var(--bg);
}
.gains {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
}
.gains li {
    display: flex;
    gap: 8px;
    color: var(--text2);
    line-height: 1.45;
}
.gains li::before {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    margin-top: 4px;
    border-radius: 50%;
    background: var(--mark);
    box-shadow: 0 0 0 3px var(--mark-soft);
}
.gate-panel {
    padding: 36px 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: auto;
    border-left: 1px solid var(--line);
}
.price {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.price-figure {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--text);
}
.price-figure strong {
    font-size: 40px;
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 700;
}
.price-figure span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text2);
}
.steps-list {
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text2);
    line-height: 1.5;
}
.steps-list b {
    color: var(--text);
}
.tab-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.licence-input {
    width: 100%;
    min-height: 92px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 11px;
    word-break: break-all;
    padding: 8px;
    line-height: 1.45;
}
.fine {
    color: var(--text3);
    font-size: 11px;
    line-height: 1.5;
}
.gate-tabs {
    display: flex;
    gap: 2px;
    padding: 2px;
    background: var(--bg3);
    border-radius: 9px;
}
.gate-tabs button {
    flex: 1;
    height: 30px;
    background: transparent;
    color: var(--text2);
    font-weight: 600;
    border-radius: 7px;
}
.gate-tabs button[aria-selected="true"] {
    background: var(--bg);
    color: var(--text);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
@media (max-width: 720px) {
    .gate {
        grid-template-columns: 1fr;
        overflow: auto;
    }
    .gate-story,
    .gate-panel {
        overflow: visible;
    }
    .gate-panel {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}


/* ------------------------------------------------------------------ shared pieces */
.spacer {
    flex: 1 1 auto;
}
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text2);
    flex: none;
}
.icon-btn:hover:not(:disabled) {
    background: var(--bg3);
    color: var(--text);
}
.icon-btn:disabled {
    opacity: 0.4;
}
.chip {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--bg3);
    color: var(--text2);
    font-size: 10.5px;
    font-weight: 600;
    white-space: nowrap;
    flex: none;
}
.chip.ok {
    background: rgba(24, 160, 88, 0.14);
    color: var(--ok-ink);
}
.chip.warn {
    background: rgba(217, 138, 0, 0.16);
    color: var(--warn-ink);
}
.chip.bad {
    background: rgba(229, 72, 77, 0.14);
    color: var(--bad-ink);
}
.chip.quiet {
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--text3);
}
.banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-m);
    background: var(--mark-soft);
    color: var(--text);
    line-height: 1.4;
}
.banner > span {
    flex: 1 1 auto;
    min-width: 0;
}
.banner .icon {
    color: var(--mark);
}
.banner.warn {
    background: rgba(217, 138, 0, 0.14);
}
.banner.warn .icon {
    color: var(--warn);
}
.card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius-m);
    background: var(--bg2);
}
.state {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 4px;
    color: var(--text2);
    line-height: 1.45;
}
.state.error {
    flex-direction: column;
    align-items: flex-start;
    color: var(--bad-ink);
}
.state.ok {
    color: var(--ok-ink);
}
.state.ok.saved {
    flex-direction: column;
    align-items: flex-start;
}
.state.ok.saved p {
    margin: 0;
    color: var(--text2);
}
.busy-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text2);
}
.tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    min-width: 0;
}
.tabs button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 10px;
    border-radius: 8px;
    background: transparent;
    color: var(--text2);
    font-weight: 600;
    white-space: nowrap;
    width: auto;
}
.tabs button:hover {
    color: var(--text);
}
.tabs button[aria-selected="true"] {
    background: var(--bg3);
    color: var(--text);
}
.tab-badge {
    display: inline-grid;
    place-items: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--bad);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}
.plain {
    margin: 0 0 10px;
    padding-left: 18px;
    display: grid;
    gap: 6px;
    line-height: 1.4;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    align-items: start;
}
.unit-input {
    display: flex;
    align-items: center;
    gap: 6px;
}
.unit-input input {
    flex: 1 1 auto;
    min-width: 0;
}
.unit-input span {
    color: var(--text3);
    font-size: 11px;
}

/* ------------------------------------------------------------------ preview frame */

/* ---------------------------------------------------------------- App shell */
.scaled {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.scaled-inner {
    position: absolute;
    top: 0;
    left: 0;
    transform-origin: 0 0;
}
.app-head {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--bar-h);
    padding: 0 14px;
    border-bottom: 1px solid var(--line);
    flex: none;
    min-width: 0;
}
.app-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 600;
    font-size: 13px;
    min-width: 0;
    flex: 0 1 auto;
}
.app-brand svg {
    flex: none;
}
.doc-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 220px;
}
.app-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex: none;
}
.steps {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
}
.steps ol {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.step button,
.step .step-static {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 9px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--text3);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}
.step button {
    cursor: pointer;
}
.step button:hover {
    background: var(--bg3);
    color: var(--text);
}
.step-n {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg3);
    color: var(--text2);
    font-size: 10px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    flex: none;
}
.step.done .step-n {
    background: var(--mark-soft);
    color: var(--mark-strong);
}
[data-framer-theme="dark"] .step.done .step-n {
    color: #ffb199;
}
.step.done .step-n .icon {
    fill: currentColor;
}
.step.current .step-static,
.step.current button {
    color: var(--text);
    background: var(--bg2);
    font-weight: 600;
}
.step.current .step-n {
    background: var(--mark);
    color: var(--mark-ink);
}
.step-badge {
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--bad);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    display: grid;
    place-items: center;
}
@media (max-width: 1100px) {
    .step:not(.current) .step-l {
        display: none;
    }
    .step button,
    .step .step-static {
        padding: 0 5px;
    }
}
.eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mark-strong);
}
[data-framer-theme="dark"] .eyebrow {
    color: #ff9d80;
}
.framer-button-primary.big {
    height: 38px;
    padding: 0 18px;
    font-size: 13px;
    width: auto;
}
.framer-button-primary.wide.big {
    width: 100%;
}
.btn.wide {
    width: 100%;
    justify-content: center;
}
.busy-note.center {
    justify-content: center;
    padding: 80px 0;
}
.state.big {
    max-width: 520px;
    margin: 64px auto;
    padding: 22px;
}
.state.permission {
    border-color: var(--warn);
    background: color-mix(in srgb, var(--warn) 9%, var(--bg));
}
.state.permission strong {
    color: var(--warn-ink);
}
.state strong {
    display: flex;
    align-items: center;
    gap: 6px;
}
.banner .link-btn {
    margin-left: auto;
    flex: none;
}
.grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.stack {
    display: grid;
    gap: 10px;
}
.check-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.45;
    margin-top: 10px;
}

/* ---------------------------------------------------------------- Projects */
.home,
.connect,
.editor {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}
.home-body {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
}
.home-side {
    border-right: 1px solid var(--line);
    padding: 16px 12px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.side-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text3);
    margin: 0 4px 2px;
}
.coll-list,
.drafts ul,
.item-grid,
.page-rows,
.structure-list,
.type-list,
.issue-list,
.save-list,
.add-menu,
.picker-grid {
    list-style: none;
    margin: 0;
    padding: 0;
}
.coll-list {
    display: grid;
    gap: 2px;
}
.coll {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--text2);
    font-size: 12px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}
.coll:hover {
    background: var(--bg3);
    color: var(--text);
}
.coll.on {
    background: var(--mark-soft);
    color: var(--text);
    font-weight: 600;
}
.coll.on .icon {
    fill: var(--mark);
}
.coll-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.drafts {
    margin-top: 14px;
    display: grid;
    gap: 6px;
}
.draft {
    display: flex;
    align-items: center;
    gap: 4px;
}
.draft-open {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 1px;
    padding: 7px 10px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    background: none;
    text-align: left;
    cursor: pointer;
    color: var(--text);
}
.draft-open:hover {
    border-style: solid;
    background: var(--bg2);
}
.draft-title {
    font-size: 12px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.draft-when {
    font-size: 11px;
    color: var(--text3);
}
.home-main {
    overflow: auto;
    padding: 22px 26px 32px;
    min-width: 0;
}
.hero-empty {
    max-width: 520px;
    margin: 9vh auto 0;
    text-align: center;
    display: grid;
    gap: 12px;
    justify-items: center;
}
.hero-empty h1 {
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 650;
    margin: 0;
    text-wrap: balance;
}
.hero-empty p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text2);
    margin: 0;
    text-wrap: pretty;
}
.main-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.main-title {
    font-size: 22px;
    letter-spacing: -0.02em;
    font-weight: 650;
    margin: 0 0 2px;
}
.main-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
.main-actions .framer-button-primary {
    width: auto;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.main-actions .framer-button-primary .icon {
    fill: currentColor;
}
.input.search {
    width: 170px;
}
.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 12px;
}
.item-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) 16px;
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--bg);
    text-align: left;
    cursor: pointer;
    color: var(--text);
    transition:
        border-color 0.12s,
        box-shadow 0.12s,
        transform 0.12s;
}
.item-card:hover {
    border-color: var(--text3);
    box-shadow: var(--shadow-card);
    transform: translateY(-1px);
}
.item-cover {
    width: 84px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg3);
    display: grid;
    place-items: center;
    color: var(--text3);
}
.item-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.item-body {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.item-title {
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.item-slug {
    font-size: 11px;
    color: var(--text3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
}
.item-when {
    font-size: 11px;
    color: var(--text3);
}
.item-go {
    color: var(--text3);
}
@media (max-width: 940px) {
    .home-body {
        grid-template-columns: 200px minmax(0, 1fr);
    }
    .home-main {
        padding: 18px;
    }
}

/* ---------------------------------------------------------------- Connect */
.connect-body {
    flex: 1;
    overflow: auto;
    padding: 28px 24px 40px;
}
.connect-body > * {
    max-width: 780px;
    margin-inline: auto;
}
.connect-intro {
    margin-bottom: 20px;
}
.connect-intro h1 {
    font-size: 24px;
    letter-spacing: -0.02em;
    font-weight: 650;
    margin: 4px 0 8px;
}
.connect-intro p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text2);
    margin: 0;
    max-width: 62ch;
}
.step-card {
    padding: 18px 20px;
    margin-bottom: 14px;
    display: grid;
    gap: 14px;
}
.step-card-head {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}
.step-card-head h2 {
    font-size: 15px;
    font-weight: 650;
    margin: 3px 0 3px;
    letter-spacing: -0.01em;
}
.step-card-head p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}
.num-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--mark-soft);
    color: var(--mark-strong);
    font-weight: 700;
    font-size: 13px;
}
[data-framer-theme="dark"] .num-badge {
    color: #ffb199;
}
.map-table {
    display: grid;
    border-top: 1px solid var(--line);
}
.map-row {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}
.map-label {
    font-size: 12px;
    font-weight: 600;
    display: grid;
    gap: 2px;
    padding-top: 6px;
}
.map-label .hint {
    font-weight: 400;
    margin: 0;
}
.req {
    font-weight: 500;
    color: var(--mark-strong);
    font-size: 11px;
}
[data-framer-theme="dark"] .req {
    color: #ff9d80;
}
.map-control select {
    width: 100%;
}
.map-control .hint:empty {
    display: none;
}
.review-box {
    background: var(--bg2);
    border-radius: var(--radius-m);
    padding: 12px 14px;
}
.review-box h3 {
    font-size: 12px;
    margin: 0 0 6px;
}
.review-box ul {
    margin: 0;
    padding-left: 18px;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text2);
}
.card-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.card-actions .muted {
    font-size: 12px;
    margin-right: auto;
}
.card-actions .framer-button-primary {
    width: auto;
    padding: 0 14px;
}
.page-rows {
    display: grid;
    gap: 6px;
}
.page-row {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    font-size: 12px;
}
.page-path {
    flex: 1;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bind-steps {
    margin: 0;
    padding-left: 20px;
    font-size: 12px;
    line-height: 1.7;
    color: var(--text2);
}
.bind-steps b {
    color: var(--text);
}
.bind-steps .optional {
    color: var(--text3);
}
.connect-foot {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}
.connect-foot .muted {
    font-size: 12px;
}
@media (max-width: 700px) {
    .map-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }
}

/* ---------------------------------------------------------------- Editor */
.workspace {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: var(--rail-w) minmax(0, 1fr) var(--insp-w);
}
.editor.step-review .workspace {
    grid-template-columns: minmax(0, 1fr) var(--insp-w);
}
.outline {
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--bg);
}
.outline-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 12px 14px 8px;
}
.outline-head h2 {
    font-size: 12px;
    font-weight: 650;
    margin: 0;
}
.outline-list {
    list-style: none;
    margin: 0;
    padding: 0 8px 8px;
    overflow: auto;
    flex: 1;
    display: grid;
    gap: 6px;
    align-content: start;
}
.outline-row {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg);
}
.outline-row.on {
    border-color: var(--mark);
    box-shadow: 0 0 0 1px var(--mark);
}
.outline-row.lifted {
    opacity: 0.55;
}
.outline-row.drop-before::before,
.outline-row.drop-after::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 2px;
    background: var(--mark);
}
.outline-row.drop-before::before {
    top: -5px;
}
.outline-row.drop-after::after {
    bottom: -5px;
}
.grip {
    border: 0;
    background: none;
    padding: 0;
    cursor: grab;
    color: var(--text3);
    display: grid;
    place-items: center;
    border-radius: var(--radius-m) 0 0 var(--radius-m);
    touch-action: none;
}
.grip:hover {
    background: var(--bg3);
    color: var(--text);
}
.outline-list.dragging .grip {
    cursor: grabbing;
}
.outline-main {
    border: 0;
    background: none;
    padding: 8px 9px 9px 5px;
    text-align: left;
    cursor: pointer;
    display: grid;
    gap: 3px;
    min-width: 0;
    color: var(--text);
    border-radius: 0 var(--radius-m) var(--radius-m) 0;
}
.outline-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    color: var(--text3);
    letter-spacing: 0.02em;
}
.outline-n {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--text2);
}
.outline-row.on .outline-n {
    color: var(--mark-strong);
}
[data-framer-theme="dark"] .outline-row.on .outline-n {
    color: #ff9d80;
}
.outline-type {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.outline-title {
    font-size: 12px;
    font-weight: 550;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-left: auto;
}
.dot.fix {
    background: var(--bad);
}
.dot.check {
    background: var(--warn);
}
.mini {
    margin-top: 4px;
    max-height: 92px;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid var(--line);
    pointer-events: none;
    background: var(--bg2);
}
.mini .cs-page {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
}
.outline-empty {
    padding: 18px 14px;
    font-size: 12px;
    flex: 1;
}
.outline-empty p {
    margin: 0 0 4px;
}
.outline-foot {
    border-top: 1px solid var(--line);
    padding: 8px;
    display: grid;
    gap: 6px;
    position: relative;
}
.add-menu {
    position: absolute;
    left: 8px;
    bottom: calc(100% - 2px);
    width: 300px;
    max-height: min(440px, 70vh);
    overflow: auto;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-card);
    padding: 5px;
    z-index: 5;
}
.add-menu button,
.type-row {
    display: grid;
    gap: 1px;
    width: 100%;
    padding: 7px 9px;
    border: 0;
    border-radius: 8px;
    background: none;
    text-align: left;
    cursor: pointer;
    color: var(--text);
    font-size: 12px;
}
.add-menu button:hover,
.type-row:hover:not(:disabled) {
    background: var(--bg3);
}
.add-menu span,
.type-row span span {
    color: var(--text3);
    font-size: 11px;
    display: block;
}
.type-row {
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
}
.type-row .icon {
    margin-top: 2px;
    fill: var(--text3);
}
.type-row strong {
    font-weight: 600;
}
.stage-pane {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    background: var(--bg2);
}
.stage-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    flex: none;
}
.stage-bar .segmented {
    width: auto;
}
.stage-scroll {
    flex: 1;
    overflow: auto;
    padding: 0 16px 24px;
    scroll-behavior: auto;
}
.stage.one {
    margin-inline: auto;
}
.stage.one.tablet {
    max-width: 640px;
}
.stage.one.phone {
    max-width: 390px;
}
.stage-frame {
    border-radius: 10px;
    overflow: clip;
    box-shadow:
        0 0 0 1px var(--line),
        0 12px 40px -18px rgba(0, 0, 0, 0.35);
    background: #fff;
}
.stage.all {
    display: grid;
    grid-template-columns: minmax(0, 1280fr) minmax(0, 810fr) minmax(0, 390fr);
    gap: 14px;
    align-items: start;
}
.stage-label {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text3);
    margin: 0 2px 6px;
}
.stage-empty {
    max-width: 420px;
    margin: 14vh auto 0;
    text-align: center;
}
.stage-empty h2 {
    font-size: 20px;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}
.stage-empty p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text2);
    margin: 0;
}
/* Editing aids drawn over the real renderer. They exist only in the plugin, never on the page. */
.stage .csb .cs-s {
    cursor: pointer;
    outline: 2px solid transparent;
    outline-offset: 10px;
    transition: outline-color 0.12s;
}
.stage .csb .cs-s:hover {
    outline-color: color-mix(in srgb, var(--mark) 40%, transparent);
}
.stage .csb .cs-s[data-sel] {
    outline-color: var(--mark);
}
.csb .cs-hint {
    display: inline-block;
    font-family: var(--cs-mono);
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.4;
    text-transform: none;
    color: var(--cs-muted);
    border: 1px dashed var(--cs-rule);
    border-radius: 6px;
    padding: 6px 10px;
    white-space: normal;
}
.mini .csb .cs-hint {
    font-size: 26px;
}
.panel {
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--bg);
}
.panel-scroll {
    flex: 1;
    overflow: auto;
    padding: 14px 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.panel-scroll > * {
    flex: none;
}
.panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}
.panel-head h2 {
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -0.01em;
    margin: 2px 0 0;
    line-height: 1.25;
}
.panel-tools {
    display: flex;
    gap: 2px;
    flex: none;
}
.panel-sub {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text3);
    margin: 8px 0 -2px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}
.panel-empty {
    margin: auto;
    padding: 24px;
    text-align: center;
    color: var(--text3);
    display: grid;
    gap: 6px;
    justify-items: center;
}
.panel-empty h2 {
    font-size: 14px;
    color: var(--text);
    margin: 4px 0 0;
}
.panel-empty p {
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
    max-width: 240px;
}
.panel-next {
    border-top: 1px solid var(--line);
    padding: 8px;
    flex: none;
}
.panel-foot {
    display: grid;
    gap: 8px;
}
.panel .muted {
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}
.variant-set {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}
.variant-set legend {
    padding: 0;
    margin-bottom: 6px;
}
.variant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
    gap: 6px;
}
.variant {
    display: grid;
    gap: 5px;
    justify-items: center;
    padding: 8px 4px 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg);
    font-size: 11px;
    color: var(--text2);
    cursor: pointer;
}
.variant:hover {
    border-color: var(--text3);
}
.variant.on {
    border-color: var(--mark);
    box-shadow: 0 0 0 1px var(--mark);
    color: var(--text);
    font-weight: 600;
}
.variant-glyph {
    width: 54px;
    height: 33px;
}
.variant-glyph rect {
    fill: var(--text3);
    opacity: 0.38;
}
.variant-glyph rect.strong {
    opacity: 0.9;
}
.variant.on .variant-glyph rect.strong {
    fill: var(--mark);
    opacity: 1;
}
.grid-value {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 5fr);
    gap: 8px;
}
.rows {
    display: grid;
    gap: 8px;
}
.rows-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 26px;
    gap: 4px;
    padding: 9px 4px 9px 9px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
}
.rows-body {
    min-width: 0;
    display: grid;
    gap: 8px;
}
.rows-tools {
    display: grid;
    align-content: start;
    gap: 2px;
}
.rows > .btn {
    justify-self: start;
}
.rich {
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    overflow: hidden;
    background: var(--bg);
}
.rich:focus-within {
    border-color: var(--tint);
}
.rich-tools {
    display: flex;
    gap: 1px;
    padding: 3px;
    border-bottom: 1px solid var(--line);
    background: var(--bg2);
    flex-wrap: wrap;
}
.rich-tool {
    width: 28px;
    height: 26px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--text2);
    font-size: 13px;
    cursor: pointer;
    display: grid;
    place-items: center;
}
.rich-tool:hover {
    background: var(--bg3);
    color: var(--text);
}
.field .rich textarea {
    border: 0;
    border-radius: 0;
    width: 100%;
    resize: vertical;
    min-height: 120px;
    font-size: 12.5px;
    line-height: 1.55;
    background: transparent;
}
.field .rich textarea:focus {
    box-shadow: none;
    outline: none;
}
.image-field {
    display: grid;
    gap: 8px;
}
.image-field.compact .field-head {
    margin-bottom: -2px;
}
.image-row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}
.image-thumb {
    width: 76px;
    height: 58px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg3);
    display: block;
}
.image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.image-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.image-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 66px;
    border: 1px dashed var(--text3);
    border-radius: var(--radius-m);
    background: var(--bg2);
    color: var(--text2);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}
.image-empty:hover {
    border-color: var(--mark);
    color: var(--text);
}
.picker {
    display: grid;
    gap: 18px;
}
.picker-upload {
    display: grid;
    gap: 6px;
    justify-items: start;
}
.picker-upload .framer-button-primary {
    width: auto;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.picker-upload .framer-button-primary .icon {
    fill: currentColor;
}
.picker-title {
    font-size: 12px;
    margin: 0 0 8px;
}
.picker-grid,
.dialog-body ul.picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 8px;
    padding: 0;
}
.picker-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg3);
    cursor: pointer;
}
.picker-thumb:hover:not(:disabled) {
    border-color: var(--mark);
    box-shadow: 0 0 0 1px var(--mark);
}
.picker-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.picker-thumb span {
    position: absolute;
    left: 4px;
    bottom: 4px;
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.66);
    color: #fff;
    font-size: 10px;
}
.crop {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 18px;
    align-items: start;
}
.crop-stage {
    display: grid;
    gap: 8px;
    justify-items: center;
}
.crop-frame {
    position: relative;
    width: 100%;
    max-height: 46vh;
    overflow: hidden;
    border-radius: 8px;
    background: var(--bg3);
    touch-action: none;
}
.crop-frame.draggable {
    cursor: grab;
}
.crop-frame.draggable:active {
    cursor: grabbing;
}
.crop-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    user-select: none;
    pointer-events: none;
}
.crop-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}
.crop-controls {
    display: grid;
    gap: 12px;
}
.slider {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 2px 8px;
    align-items: center;
    font-size: 12px;
}
.slider label {
    grid-column: 1 / -1;
    font-weight: 500;
    color: var(--text2);
}
.slider input[type="range"] {
    width: 100%;
    accent-color: var(--mark);
}
.slider output {
    font-variant-numeric: tabular-nums;
    text-align: right;
    color: var(--text2);
}
@media (max-width: 760px) {
    .crop {
        grid-template-columns: minmax(0, 1fr);
    }
}
.structure-list,
.type-list {
    display: grid;
    gap: 6px;
}
.type-list {
    gap: 1px;
}
.structure {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg);
    text-align: left;
    cursor: pointer;
    color: var(--text);
    align-items: center;
}
.structure:hover {
    border-color: var(--mark);
    box-shadow: 0 0 0 1px var(--mark);
}
.structure-bars {
    display: grid;
    gap: 2px;
    padding: 5px;
    border-radius: 6px;
    background: var(--bg3);
    min-height: 52px;
    align-content: center;
}
.bar {
    display: block;
    height: 3px;
    border-radius: 1px;
    background: var(--text3);
    opacity: 0.55;
}
.bar.image,
.bar.gallery,
.bar.split {
    height: 7px;
    background: var(--mark);
    opacity: 0.85;
}
.bar.results,
.bar.quote {
    width: 70%;
}
.bar.brief {
    opacity: 0.95;
}
.structure-text {
    display: grid;
    gap: 2px;
    font-size: 11.5px;
    line-height: 1.4;
    color: var(--text2);
}
.structure-text strong {
    font-size: 12.5px;
    color: var(--text);
}
.structure-count {
    color: var(--text3);
    font-size: 11px;
}
.system-list {
    display: grid;
    gap: 10px;
}
.system-card {
    display: grid;
    gap: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    background: var(--bg);
    overflow: hidden;
    text-align: left;
    cursor: pointer;
    color: var(--text);
}
.system-card:hover {
    border-color: var(--text3);
}
.system-card.on {
    border-color: var(--mark);
    box-shadow: 0 0 0 1px var(--mark);
}
.system-shot {
    display: block;
    height: 150px;
    overflow: hidden;
    pointer-events: none;
    border-bottom: 1px solid var(--line);
}
.system-text {
    display: grid;
    gap: 3px;
    padding: 10px 12px 12px;
    font-size: 11.5px;
    line-height: 1.45;
    color: var(--text2);
}
.system-text strong {
    font-size: 13px;
    color: var(--text);
}
.pair-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}
.pair {
    display: grid;
    gap: 1px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    background: var(--bg);
    text-align: left;
    cursor: pointer;
    color: var(--text);
    font-size: 12px;
}
.pair:hover {
    border-color: var(--text3);
}
.pair.on {
    border-color: var(--mark);
    box-shadow: 0 0 0 1px var(--mark);
}
.pair-sample {
    display: flex;
    align-items: baseline;
    gap: 7px;
    height: 34px;
    overflow: hidden;
}
.pair-sample span:first-child {
    font-size: 26px;
    line-height: 1.2;
}
.pair-sample span:last-child {
    font-size: 13px;
    color: var(--text2);
}
.pair-blurb {
    font-size: 10.5px;
    color: var(--text3);
}
.facts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    overflow: hidden;
    background: var(--line);
}
.facts-grid > div {
    background: var(--bg);
    padding: 8px 10px;
}
.facts-grid dt {
    font-size: 10.5px;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.facts-grid dd {
    margin: 2px 0 0;
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.issue-list {
    display: grid;
    gap: 6px;
    margin-top: 10px;
}
.issue {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-m);
    font-size: 12px;
    line-height: 1.45;
}
.issue p {
    margin: 0;
}
.issue.fix {
    border-color: color-mix(in srgb, var(--bad) 45%, var(--line));
}
.issue.fix .icon {
    fill: var(--bad);
}
.issue.check .icon {
    fill: var(--warn);
}
.issue-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}
.dest {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
}
.dest-title {
    font-size: 14px;
    letter-spacing: -0.01em;
}
.dest .muted {
    font-size: 11.5px;
}
.dest .btn {
    justify-self: start;
    margin-top: 6px;
}
.save-list {
    display: grid;
    gap: 7px;
    font-size: 12px;
}
.save-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.35;
}
.save-list li.done .icon {
    fill: var(--ok);
}
.save-list li.pending .icon {
    fill: var(--warn);
}
.save-list .link-btn {
    margin-left: auto;
    flex: none;
}
.state.ok strong .icon {
    fill: var(--ok);
}
@media (max-width: 1040px) {
    :root,
    body {
        --rail-w: 204px;
        --insp-w: 304px;
    }
    .mini {
        display: none;
    }
    .stage.all {
        grid-template-columns: minmax(0, 1fr);
        max-width: 560px;
        margin-inline: auto;
    }
}

/* ---------------------------------------------------------------- Unlock screen additions */
.gate-systems {
    max-width: 320px;
}
.gate-demo {
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px var(--line),
        0 24px 60px -30px rgba(0, 0, 0, 0.45);
    flex: 1 1 240px !important;
    min-height: 220px;
    max-height: 520px;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------------------------------------------------------------- Custom buttons
   Framer's base stylesheet gives every button a fixed height, full width and centred content. The plugin's own
   card-like and row-like buttons opt out of those defaults here. */
.outline-main,
.structure,
.type-row,
.item-card,
.coll,
.system-card,
.pair,
.variant,
.draft-open,
.picker-thumb,
.image-empty,
.add-menu button,
.grip,
.step button,
.rich-tool {
    height: auto;
    flex-shrink: 1;
    text-overflow: clip;
    font-weight: 500;
    line-height: 1.4;
    transition: none;
}
.outline-main,
.structure,
.type-row,
.item-card,
.system-card,
.pair,
.variant,
.draft-open,
.add-menu button {
    justify-content: normal;
    align-items: normal;
    overflow: visible;
}
.structure,
.item-card,
.type-row {
    align-items: center;
}
.type-row {
    align-items: start;
}
.coll {
    height: 34px;
    justify-content: flex-start;
}
.grip {
    width: 18px;
    height: 100%;
    padding: 0;
}
.step button {
    width: auto;
    height: 30px;
}
.rich-tool {
    width: 28px;
    height: 26px;
    padding: 0;
    flex: none;
}
.system-card {
    padding: 0;
    overflow: hidden;
}
.picker-thumb {
    padding: 0;
    overflow: hidden;
}
.image-empty {
    height: 66px;
    width: 100%;
}
.stage-bar .btn,
.main-actions .btn,
.app-actions .btn,
.card-actions .btn,
.page-row .btn,
.image-actions .btn,
.issue-actions .btn,
.rows > .btn,
.dest .btn,
.connect-foot .framer-button-primary {
    width: auto;
}
.outline-foot .btn.wide,
.panel-next .btn.wide {
    width: 100%;
}
.panel-scroll > .btn,
.panel-scroll > .link-btn {
    align-self: flex-start;
    width: auto;
}
.panel textarea,
.dialog textarea {
    width: 100%;
    height: auto;
}
.panel input[type="text"],
.panel select,
.dialog input[type="text"],
.dialog select,
.connect select {
    width: 100%;
}
.slider input[type="range"] {
    height: 22px;
    padding: 0;
}

/* Toolbar marks drawn as decoration, so the button's name stays its label alone. */
.glyph::before {
    content: attr(data-glyph);
}
