:root {
	--page-bg: #eef2f3;
	--frame-bg: #f2f4f5;
	--frame-border: rgba(0, 0, 0, 0.08);
	--shadow: 0 24px 60px rgba(26, 39, 53, 0.18);
	--text-main: #1f2933;
	--text-muted: #5b6773;
	--modal-overlay: rgba(17, 24, 39, 0.55);
	--modal-bg: #ffffff;
	--modal-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
	--modal-sector-accent: #f79646;
	--modal-sector-accent-rgb: 247, 150, 70;
	--modal-accent: #e0bd2f;
	--modal-accent-soft: #f5e18e;
	--modal-accent-rgb: 224, 189, 47;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	min-height: 100%;
	font-family: Roboto, Arial, sans-serif;
	color: var(--text-main);
	background: var(--page-bg);
}

body.modal-open {
	overflow: hidden;
}

.page {
	min-height: 100vh;
	margin: 0 auto;
	padding: 20px 16px 40px;
	place-items: center;
}

.page__header {
	margin-bottom: 14px;
}

.page__title {
	margin: 0;
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.1;
	color: #1f2937;
}

.page__subtitle {
	margin: 8px 0 0;
	font-size: clamp(14px, 1.4vw, 17px);
	color: var(--text-muted);
	line-height: 1.45;
	max-width: 60%;
}

.flower-frame {
	position: relative;
	overflow: hidden;
	width: min(96vw, 900px);
}

.flower-stage {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	min-height: 520px;
}

.flower-rotator {
	position: absolute;
	inset: 0;
	transform-origin: 50% 50%;
	touch-action: none;
	cursor: grab;
	will-change: transform;
}

.flower-rotator.is-dragging {
	cursor: grabbing;
}

.flower-center-svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 3;
	transform-origin: 50% 50%;
	will-change: transform;
}

.flower-center-svg circle,
.flower-center-svg .center-title {
	cursor: pointer;
}

.flower-svg,
.flower-html-labels {
	position: absolute;
	inset: 0;
}

.flower-svg {
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.flower-svg * {
	outline: none !important;
	-webkit-tap-highlight-color: transparent;
	font-family: Roboto, Arial, sans-serif;
}

.flower-html-labels {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 2;
}

.level3-html-label {
	touch-action: none;
}

.sector,
.label-group,
.label-group text {
	transition:
		filter 0.18s ease,
		opacity 0.18s ease;
}

.sector--level2,
.sector--level3,
.label-group--level2,
.label-group--level3 {
	cursor: pointer;
}

.sector--level1:hover,
.sector--level1.is-active-category,
.sector--level2.is-active-category,
.sector--level3.is-active-category,
.label-group--level1-straight:hover text,
.label-group--level1-straight.is-active-category text,
.label-group--level2.is-active-category text,
.label-group--level3.is-active-category text {
	filter: brightness(1.08) saturate(1.08);
}

.sector--level2:hover,
.label-group--level2:hover text,
.sector--level2.is-active-level2,
.label-group--level2.is-active-level2 text {
	filter: brightness(1.08) saturate(1.08);
}

.sector--level3:hover,
.label-group--level3:hover text,
.sector--level3.is-active-level3,
.label-group--level3.is-active-level3 text,
.level3-html-label:hover .level3-html-label__text,
.level3-html-label.is-active-level3 .level3-html-label__text {
	filter: brightness(1.08) saturate(1.08);
}

.level1-title {
	font-family: Roboto, Arial, sans-serif;
	font-size: 38px;
	font-weight: 700;
	fill: #ffffff;
	letter-spacing: 0;
	pointer-events: none;
}

.level1-title--relationships {
	font-size: 38px;
	letter-spacing: 0;
}

.level1-title--life-skills {
	font-size: 38px;
	letter-spacing: 0;
}

.level1-title--straight {
	font-family: Roboto, Arial, sans-serif;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: 0;
	pointer-events: auto;
}

.level1-title--needs {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: 0;
}

.level1-title--mental-arc {
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 0;
}

.level2-title {
	font-size: 24px;
	font-weight: 500;
	fill: #ffffff;
	pointer-events: auto;
}

.level3-title {
	font-size: 18px;
	font-weight: 400;
	fill: #202020;
	pointer-events: auto;
}

.level3-html-label {
	position: absolute;
	width: 170px;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	text-align: center;
	pointer-events: auto;
	cursor: pointer;
	transform-origin: center center;
}

.level3-html-label__text {
	display: block;
	font-size: 9px;
	font-weight: 300;
	line-height: 1.12;
	color: #030c22;
	white-space: normal;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: auto;
	padding: 0 25px;
	font-family: Roboto, Arial, sans-serif;
}

.center-title {
	font-size: 44px;
	font-weight: 700;
	fill: #111111;
	text-anchor: middle;
	cursor: pointer;
}

.label-group {
	outline: none;
}

.modal {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.24s ease,
		visibility 0.24s ease;
	z-index: 50;
}

.modal.is-open {
	opacity: 1;
	visibility: visible;
}

.modal__overlay {
	position: absolute;
	inset: 0;
	background: rgb(0 0 0 / 77%);
}

.modal__dialog {
	position: relative;
	width: min(820px, 100%);
	max-height: min(88vh, 980px);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
	border: 2px solid color-mix(in srgb, var(--modal-accent) 48%, white 52%);
	border-radius: 28px;
	box-shadow:
		0 32px 90px rgba(15, 23, 42, 0.22),
		0 8px 24px rgba(15, 23, 42, 0.08),
		0 0 0 1px rgba(var(--modal-accent-rgb), 0.08),
		0 0 34px rgba(var(--modal-accent-rgb), 0.16);
	transform: translateY(20px) scale(0.97);
	transition:
		transform 0.28s ease,
		opacity 0.28s ease,
		box-shadow 0.28s ease,
		border-color 0.28s ease;
}

.modal__dialog::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 52px;
	background: linear-gradient(
		90deg,
		var(--modal-accent-soft) 0%,
		var(--modal-accent) 100%
	);
	z-index: 1;
	pointer-events: none;
}

.modal.is-open {
	opacity: 1;
	visibility: visible;
}

.modal__dialog span {
	border-top: 1px solid var(--modal-accent-soft);
	width: 100%;
	display: block;
	padding-top: 20px;
	line-height: 28px;
}

.modal__close {
	position: absolute;
	top: 5px;
	right: 16px;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.32);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	color: #111827;
	cursor: pointer;
	font-size: 40px;
	line-height: 1;
	display: grid;
	place-items: center;
	transition:
		background 0.18s ease,
		transform 0.18s ease,
		color 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease;
	z-index: 10;
	font-family: Montserrat, Arial, sans-serif;
	font-weight: 200;
	box-shadow:
		0 6px 18px rgba(15, 23, 42, 0.12),
		inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.modal__close:hover {
	background: rgba(255, 255, 255, 0.46);
	border-color: rgba(255, 255, 255, 0.92);
	box-shadow:
		0 10px 24px rgba(15, 23, 42, 0.16),
		inset 0 0 0 1px rgba(255, 255, 255, 0.24);
	transform: scale(1.05);
}

.modal__close:active {
	transform: scale(0.97);
}

.modal__content {
	position: relative;
	z-index: 2;
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	margin-top: 52px;
	padding: 22px 42px 38px;
	isolation: isolate;
}

.modal__content::-webkit-scrollbar {
	width: 10px;
}

.modal__content::-webkit-scrollbar-track {
	background: transparent;
}

.modal__content::-webkit-scrollbar-thumb {
	background: rgba(15, 23, 42, 0.16);
	border-radius: 999px;
}

.modal__content::-webkit-scrollbar-thumb:hover {
	background: rgba(15, 23, 42, 0.24);
}

.modal__flower-bg {
	position: fixed;
	left: 15%;
	top: 10%;
	width: 100%;
	height: auto;
	pointer-events: none;
	z-index: -1;
	opacity: 0.08;
	transform: translate(32%, 28%) rotate(-18deg);
	transform-origin: center center;
}

.modal__flower-image {
	display: block;
	width: 100%;
	object-fit: contain;
	filter: saturate(0.9) brightness(1.02);
	user-select: none;
	-webkit-user-drag: none;
}

.modal__title {
	margin: 0 60px 0px 30px;
	font-size: clamp(30px, 3.2vw, 44px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.02em;
	color: #17212b;
}

.modal__title-accent {
	position: relative;
	background: var(--modal-accent);
	width: 8px;
	height: 8px;
	border-radius: 100%;
	top: -26px;
}

.modal__title-accent::before {
	content: '';
	position: absolute;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--modal-accent);
	box-shadow: 0 0 0 6px rgba(var(--modal-accent-rgb), 0.12);
	animation: inventory-pulse 2s linear infinite;
}

.modal__body {
	font-size: 19px;
	line-height: 1.72;
	color: #334155;
}
.modal__title,
.modal__title-accent,
.modal__body {
	position: relative;
	z-index: 2;
}

.modal__body h3,
.modal__body h4 {
	margin: 30px 0 14px;
	font-size: 1.28em;
	line-height: 1.15;
	font-weight: 700;
	color: #1e293b;
	letter-spacing: -0.01em;
}

.modal__body p {
	margin: 0 0 18px;
}

.modal__body ul {
	list-style: none;
	border-left: 5px solid var(--modal-accent);
	margin: 0 0 25px 25px;
	padding-left: 15px;
}

.modal__body ol {
	margin: 0 0 25px 25px;
	padding-left: 40px;
}

.modal__body li + li {
	margin-top: 5px;
}

.modal__body strong {
	font-weight: 700;
	color: #0f172a;
}

.modal__body a {
	color: var(--modal-sector-accent);
	text-decoration: none;
	transition:
		color 0.18s ease,
		border-color 0.18s ease;
	line-height: 22px;
}

.modal__body a:hover {
	border: none;
	color: color-mix(in srgb, var(--modal-sector-accent) 85%, white 15%);
}

.flower-data {
	display: none;
}

@media (max-width: 1200px) {
	.level1-title {
		font-size: 34px;
	}

	.level2-title {
		font-size: 24px;
	}

	.level3-title {
		font-size: 12px;
	}

	.level3-html-label {
		width: 130px;
	}

	.level3-html-label__text {
		font-size: 9px;
		line-height: 1.08;
		padding: 0 10px;
	}

	.center-title {
		font-size: 52px;
	}
}

@media (max-width: 860px) {
	.page {
		width: min(100vw, 100%);
		padding: 12px 8px 24px;
	}

	.flower-frame {
		border-radius: 18px;
	}

	.flower-stage {
		min-height: 380px;
	}

	.level1-title {
		font-size: 32px;
	}

	.level2-title {
		font-size: 26px;
	}

	.level3-title {
		font-size: 12px;
	}

	.level3-html-label {
		width: 130px;
	}

	.level3-html-label__text {
		font-size: 6px;
		line-height: 1.08;
		padding: 0 30px;
	}

	.center-title {
		font-size: 50px;
	}

	.modal__content {
		margin-top: 52px;
		padding: 20px 20px 24px;
	}

	.modal__flower-bg {
		width: 100%;
		transform: translate(30%, 24%) rotate(-18deg);
		opacity: 0.08;
		top: 20%;
		left: 15%;
	}

	.modal__title {
		margin: 0 20px 0px 20px;
		font-size: clamp(24px, 7vw, 34px);
	}

	.modal__body {
		font-size: 17px;
		line-height: 1.65;
	}
}

@media (max-width: 560px) {
	.page__subtitle {
		max-width: 100%;
	}

	.flower-stage {
		min-height: 320px;
	}

	.modal {
		padding: 10px;
	}

	.modal__dialog {
		border-radius: 20px;
		max-height: min(82vh, 980px);
		overflow: hidden;
	}

	.modal__close {
		top: 7px;
		right: 12px;
		width: 34px;
		height: 34px;
		font-size: 28px;
	}

	.modal__content {
		padding: 22px 16px 20px;
	}

	.modal__flower-bg {
		left: 0%;
		top: 45%;
		width: 125%;
		opacity: 0.05;
	}

	.modal__body {
		font-size: 16px;
		line-height: 1.58;
	}

	.level3-html-label__text {
		font-size: 4px;
		line-height: 1.08;
		padding: 0 40px;
	}

	.level3-html-label,
	.level3-html-label__text {
		pointer-events: none;
	}
}

@media (max-width: 560px) {
	.flower-frame {
		overflow: visible;
	}

	.flower-stage {
		overflow: visible;
	}

	.page {
		overflow-x: hidden;
	}
}

@keyframes inventory-pulse {
	0% {
		opacity: 0.5;
	}

	100% {
		transform: scale(2.5);
		opacity: 0;
	}
}
/*    &lt;br&gt;    */
