@font-face {
	font-family: Inter;
	src: url("/fonts/inter.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

@font-face {
	font-family: "Space Grotesk";
	src: url("/fonts/space-grotesk.woff2") format("woff2");
	font-weight: 300 700;
	font-display: swap;
}

:root {
	--bg: #090c12;
	--bg-2: #0d1119;
	--card: #121723;
	--card-2: #18202e;
	--line: rgba(150, 185, 235, .1);
	--line-strong: rgba(120, 180, 255, .26);
	--text: #e9eef6;
	--muted: #93a0b5;
	--dim: #647085;
	--blue: #3a8de0;
	--blue-hover: #52a3f0;
	--blue-light: #86c5ff;
	--blue-soft: rgba(70, 150, 240, .13);
	--good: #3fd29a;
	--warn: #f3b24c;
	--bad: #f06a6a;
	--lit: linear-gradient(155deg, rgba(120, 185, 255, .07), transparent 46%);
	--display: "Space Grotesk", Inter, "Segoe UI", system-ui, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	background: var(--bg);
	scroll-behavior: smooth;
	scroll-padding-top: 84px;
}

body {
	margin: 0;
	min-height: 100vh;
	background: var(--bg);
	color: var(--text);
	font: 15px/1.6 Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-decoration: none;
}

h1, h2, h3, h4, p, ul, ol {
	margin: 0;
	padding: 0;
}

ul, ol {
	list-style: none;
}

button, input, textarea, select {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--blue-light);
	outline-offset: 2px;
}

.icon {
	flex: none;
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.icon.solid {
	fill: currentColor;
	stroke: none;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--card-2);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.btn:hover {
	background: #202a3b;
	border-color: var(--line-strong);
}

.btn.primary {
	border-color: transparent;
	background: linear-gradient(180deg, #4b9dec, var(--blue));
	color: #fff;
}

.btn.primary:hover {
	background: linear-gradient(180deg, #62aef4, var(--blue-hover));
}

.btn.big {
	min-height: 50px;
	padding: 0 26px;
	font-size: 15px;
}

.btn.sm {
	min-height: 34px;
	padding: 0 12px;
	font-size: 13px;
}

.btn.danger {
	color: var(--bad);
}

.btn:disabled {
	opacity: .5;
	cursor: default;
}

.navbar {
	position: fixed;
	z-index: 40;
	top: 0;
	left: 0;
	right: 0;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 68px;
	padding: 0 32px;
	background: rgba(9, 12, 18, .76);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}

.navbar-logo {
	display: flex;
	align-items: center;
	gap: 11px;
	font-family: var(--display);
	font-size: 16px;
	font-weight: 700;
}

.navbar-logo img {
	width: 34px;
	height: 34px;
	border-radius: 9px;
}

.navbar-links {
	display: flex;
	gap: 28px;
	font-size: 14px;
	font-weight: 500;
	color: var(--muted);
}

.navbar-links a, .navbar-links button {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
	transition: color .24s ease, text-shadow .24s ease;
}

.navbar-links a:hover, .navbar-links button:hover {
	color: #fff;
}

.navbar-links a[aria-current="page"], .navbar-links .active {
	color: #fff;
	text-shadow: 0 0 14px rgba(134, 197, 255, .5);
}

.navbar-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.navbar-toggle {
	display: none;
	padding: 0 10px;
}

.page-public {
	padding-top: 68px;
}

.hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(92vh - 68px);
	padding: 72px 24px 88px;
	text-align: center;
	overflow: hidden;
}

.hero::before {
	content: "";
	position: absolute;
	inset: -30% -10% auto;
	height: 120%;
	background:
		radial-gradient(46% 62% at 50% 0, rgba(70, 150, 240, .24), transparent 72%),
		conic-gradient(from 150deg at 50% -8%, transparent 0deg, rgba(150, 205, 255, .1) 30deg, transparent 60deg);
	-webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 92%);
	mask-image: linear-gradient(to bottom, #000 45%, transparent 92%);
	pointer-events: none;
}

.hero-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.hero-content {
	position: relative;
	max-width: 760px;
}

.hero-content > * {
	animation: rise .6s ease both;
}

.hero-content > :nth-child(2) {
	animation-delay: .06s;
}

.hero-content > :nth-child(3) {
	animation-delay: .12s;
}

.hero-content > :nth-child(4) {
	animation-delay: .18s;
}

.hero-content > :nth-child(5) {
	animation-delay: .24s;
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
}

.reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .6s ease, transform .6s ease;
}

.reveal.revealed {
	opacity: 1;
	transform: none;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 13px;
	border: 1px solid var(--line-strong);
	border-radius: 8px;
	background: var(--blue-soft);
	color: var(--blue-light);
	font-size: 12px;
	font-weight: 600;
}

.hero-badge .icon {
	width: 13px;
	height: 13px;
}

.hero-title {
	margin-top: 26px;
	font-family: var(--display);
	font-size: clamp(44px, 8vw, 84px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -.03em;
}

.hero-title em {
	color: var(--blue-light);
}

.hero-subtitle {
	max-width: 520px;
	margin: 20px auto 0;
	color: var(--muted);
	font-size: clamp(15px, 2.2vw, 18px);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 34px;
}

.hero-trust {
	margin-top: 20px;
	color: var(--dim);
	font-size: 13px;
}

.section {
	padding: 88px 24px;
}

.section.alt {
	background: var(--bg-2);
}

.section-inner {
	max-width: 1100px;
	margin: 0 auto;
}

.section-inner.narrow {
	max-width: 720px;
}

.section-header {
	max-width: 620px;
	margin: 0 auto 38px;
	text-align: center;
}

.section-tag {
	color: var(--blue-light);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.section-title {
	margin-top: 10px;
	font-family: var(--display);
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.02em;
}

.section-subtitle {
	margin-top: 8px;
	color: var(--muted);
}

.figures-band {
	padding: 0 24px 72px;
}

.figures {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px 72px;
	max-width: 1100px;
	margin: 0 auto;
	text-align: center;
}

.figures strong {
	display: block;
	font-family: var(--display);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
}

.figures span {
	color: var(--muted);
	font-size: 13px;
}

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

.step {
	position: relative;
	padding: 20px 18px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--lit), var(--card);
	transition: border-color .16s ease, transform .16s ease;
}

.step:hover {
	border-color: var(--line-strong);
	transform: translateY(-2px);
}

.step-number {
	position: absolute;
	top: 16px;
	right: 16px;
	color: var(--dim);
	font-size: 12px;
	font-weight: 600;
}

.step-head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.step-icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--line-strong);
	border-radius: 9px;
	background: var(--blue-soft);
	color: var(--blue-light);
}

.step-head strong {
	font-size: 15px;
}

.step p {
	margin-top: 10px;
	color: var(--muted);
	font-size: 14px;
}

kbd {
	padding: 1px 6px;
	border: 1px solid var(--line-strong);
	border-radius: 5px;
	background: var(--card-2);
	color: var(--text);
	font: inherit;
	font-size: 12px;
}

.reviews-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 14px;
}

.review-card {
	padding: 20px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--lit), var(--card);
}

.review-head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.review-head strong {
	display: block;
	font-size: 14px;
	line-height: 1.3;
}

.review-card p {
	margin-top: 12px;
	color: var(--muted);
	overflow-wrap: anywhere;
}

.stars {
	color: var(--warn);
	font-size: 13px;
	letter-spacing: 1px;
}

.star-off {
	color: #2b3648;
}

.avatar {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--card-2);
	object-fit: cover;
}

.avatar.blank {
	display: grid;
	place-items: center;
	color: var(--blue-light);
	font-weight: 700;
}

.empty-note {
	grid-column: 1 / -1;
	padding: 34px;
	color: var(--dim);
	text-align: center;
}

.faq-list {
	display: grid;
	gap: 8px;
}

.faq-item {
	border: 1px solid var(--line);
	border-radius: 11px;
	background: var(--card);
}

.faq-item[open] {
	border-color: var(--line-strong);
}

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

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

.faq-item summary::after {
	content: "+";
	flex: none;
	color: var(--blue-light);
	font-size: 19px;
	font-weight: 400;
	line-height: 1;
}

.faq-item[open] summary::after {
	content: "\2212";
}

.faq-item p {
	padding: 0 18px 16px;
	color: var(--muted);
}

.site-footer {
	padding: 56px 24px 26px;
	border-top: 1px solid var(--line);
	background: var(--bg-2);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: 32px;
	max-width: 1100px;
	margin: 0 auto;
}

.footer-tagline {
	margin-top: 10px;
	color: var(--dim);
	font-size: 13px;
}

.footer-col h4 {
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 700;
}

.footer-col a {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 4px 0;
	color: var(--muted);
	font-size: 14px;
}

.footer-col a:hover {
	color: #fff;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 24px;
	max-width: 1100px;
	margin: 36px auto 0;
	color: var(--dim);
	font-size: 13px;
}

.footer-bottom a:hover {
	color: var(--text);
}

.page-head {
	max-width: 1100px;
	margin: 0 auto;
	padding: 64px 24px 0;
	text-align: center;
}

.page-head h1 {
	margin-top: 10px;
	font-family: var(--display);
	font-size: clamp(32px, 5vw, 46px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.02em;
}

.page-head p {
	margin-top: 8px;
	color: var(--muted);
}

.page-body {
	max-width: 1100px;
	margin: 0 auto;
	padding: 28px 24px 88px;
}

.page-body.narrow {
	max-width: 760px;
}

.filter-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.search {
	position: relative;
	flex: 0 1 260px;
	margin-right: 6px;
}

.search .icon {
	position: absolute;
	top: 12px;
	left: 13px;
	color: var(--dim);
}

.search .input {
	padding-left: 38px;
}

.input {
	width: 100%;
	padding: 10px 13px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--bg-2);
	font-size: 14px;
	transition: border-color .15s ease;
}

.input:focus {
	border-color: var(--line-strong);
	outline: none;
}

.input::placeholder {
	color: var(--dim);
}

textarea.input {
	min-height: 104px;
	resize: vertical;
}

select.input {
	width: auto;
	padding: 6px 9px;
	background: var(--card-2);
	font-size: 13px;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 34px;
	padding: 0 11px;
	border: 1px solid transparent;
	border-radius: 8px;
	background: none;
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
}

.chip .icon {
	width: 15px;
	height: 15px;
}

.chip:hover {
	color: #fff;
}

.chip[aria-pressed="true"] {
	border-color: var(--line-strong);
	background: var(--blue-soft);
	color: var(--blue-light);
}

.category h2 {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 34px;
	font-family: var(--display);
	font-size: 18px;
	font-weight: 700;
}

.category h2 .icon {
	width: 19px;
	height: 19px;
	color: var(--blue-light);
}

.category h2 span {
	color: var(--dim);
	font-size: 14px;
	font-weight: 500;
}

.module-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(164px, 1fr));
	gap: 8px;
	margin-top: 12px;
}

.module {
	padding: 9px 12px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--card);
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.35;
	cursor: default;
	transition: background-color .14s ease, border-color .14s ease, color .14s ease, transform .14s ease;
}

.module:hover, .module:focus-visible {
	border-color: var(--line-strong);
	background: var(--card-2);
	color: #fff;
	transform: translateY(-1px);
}

.tip {
	position: fixed;
	z-index: 70;
	top: 0;
	left: 0;
	max-width: 240px;
	padding: 7px 10px;
	border: 1px solid var(--line-strong);
	border-radius: 7px;
	background: var(--bg);
	color: var(--muted);
	font-size: 13px;
	line-height: 1.4;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .42);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .14s ease, visibility 0s linear .14s;
}

.tip.visible {
	opacity: 1;
	visibility: visible;
	transition: opacity .14s ease;
}

.update-card {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 14px;
	margin-bottom: 14px;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--card);
}

.post-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
}

.post-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
}

.post-head strong {
	color: var(--blue-light);
	font-size: 15px;
	font-weight: 600;
}

.post-head time {
	color: var(--dim);
	font-size: 12px;
}

.post-body h2 {
	margin-top: 2px;
	font-size: 15px;
	font-weight: 700;
}

.diff-block {
	margin: 12px 0 0;
	padding: 9px 11px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--bg-2);
	font: 14px/1.35 Consolas, "SF Mono", Menlo, "Liberation Mono", monospace;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.diff-line {
	display: block;
	width: fit-content;
	max-width: 100%;
}

.diff-block.added .diff-line {
	background: rgba(63, 210, 154, .1);
	color: #79dfaf;
}

.diff-block.removed .diff-line {
	background: rgba(240, 106, 106, .12);
	color: #ff9d9d;
}

.post-foot {
	margin-top: 14px;
	font-size: 14px;
	font-weight: 600;
}

.post-foot a {
	padding: 1px 5px;
	border-radius: 4px;
	background: var(--blue-soft);
	color: var(--blue-light);
}

.post-foot a:hover {
	background: var(--blue);
	color: #fff;
}

.license {
	margin: 0;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--card);
	color: var(--muted);
	font: inherit;
	font-size: 14px;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.app-shell {
	display: flex;
	gap: 16px;
	height: 100vh;
	padding: 16px;
	overflow: hidden;
	background: radial-gradient(900px 460px at 0 -12%, rgba(70, 150, 240, .09), transparent 60%), var(--bg);
}

.sidebar {
	flex: none;
	display: flex;
	flex-direction: column;
	width: 262px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--bg-2);
	overflow: hidden;
}

.sidebar .navbar-logo {
	padding: 18px 20px 14px;
}

.sidebar-profile {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 6px 16px 16px;
	text-align: center;
}

.sidebar-profile .avatar {
	width: 60px;
	height: 60px;
	border: 2px solid var(--line-strong);
	font-size: 22px;
}

.sidebar-name {
	margin-top: 9px;
	max-width: 100%;
	font-size: 15px;
	font-weight: 700;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.sidebar-status {
	color: var(--blue-light);
	font-size: 12px;
	font-weight: 600;
}

.sidebar-status.off {
	color: var(--dim);
}

.sidebar-nav {
	flex: 1;
	min-height: 0;
	padding: 2px 12px 12px;
	overflow-y: auto;
	scrollbar-color: var(--card-2) transparent;
	scrollbar-width: thin;
}

.nav-label {
	display: block;
	padding: 14px 12px 5px;
	color: var(--dim);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.nav-link {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 9px 12px;
	border: 1px solid transparent;
	border-radius: 9px;
	background: none;
	color: var(--muted);
	cursor: pointer;
	text-align: left;
	font-size: 14px;
	font-weight: 500;
	transition: background-color .15s ease, color .15s ease;
}

.nav-link:hover {
	background: rgba(120, 180, 255, .06);
	color: #fff;
}

.nav-link[aria-current="page"] {
	border-color: var(--line-strong);
	background: var(--blue-soft);
	color: #fff;
}

.nav-link[aria-current="page"] .icon {
	color: var(--blue-light);
}

.nav-count {
	margin-left: auto;
	padding: 0 7px;
	border-radius: 6px;
	background: var(--blue);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
}

.sidebar-foot {
	padding: 10px 12px 12px;
}

.sidebar-foot .admin-link {
	color: var(--blue-light);
}

.sidebar-logout {
	margin-top: 2px;
	border: 0;
	background: none;
	cursor: pointer;
	text-align: left;
}

.main {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--bg-2);
	overflow: hidden;
}

.topbar {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 22px;
	border-bottom: 1px solid var(--line);
}

.topbar-left, .topbar-right {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.topbar-title {
	font-family: var(--display);
	font-size: 20px;
	font-weight: 700;
}

.menu-toggle {
	display: none;
}

.page-content {
	flex: 1;
	min-height: 0;
	padding: 24px 26px 32px;
	overflow-y: auto;
	scrollbar-color: var(--card-2) transparent;
}

.column {
	width: 100%;
	max-width: 680px;
	margin: 0 auto;
}

.notice {
	margin-bottom: 14px;
	padding: 12px 16px;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	background: var(--blue-soft);
	font-size: 14px;
}

.dl-hero {
	padding: 32px 28px 28px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--lit), var(--card);
	text-align: center;
}

.dl-hero img {
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	border: 1px solid var(--line-strong);
	border-radius: 15px;
}

.dl-hero h2 {
	font-family: var(--display);
	font-size: 23px;
	font-weight: 700;
}

.dl-hero p {
	margin-top: 4px;
	color: var(--muted);
	font-size: 14px;
}

.dl-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 12px 0 20px;
}

.dl-chip {
	padding: 3px 9px;
	border-radius: 6px;
	background: var(--card-2);
	color: var(--muted);
	font-size: 12px;
	font-weight: 500;
}

.dl-hero .btn {
	width: 100%;
	max-width: 260px;
}

.small-heading {
	margin: 28px 0 12px;
	color: var(--dim);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-align: center;
	text-transform: uppercase;
}

.small-heading.left {
	text-align: left;
}

.stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.stat {
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--lit), var(--card);
}

.stat-head {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--muted);
	font-size: 13px;
}

.stat-head .icon {
	color: var(--blue-light);
}

.stat strong {
	display: block;
	margin-top: 5px;
	font-family: var(--display);
	font-size: 23px;
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.content-card {
	margin-bottom: 16px;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-radius: 13px;
	background: var(--lit), var(--card);
}

.content-card-header {
	display: flex;
	align-items: flex-start;
	gap: 13px;
}

.content-card-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line-strong);
	border-radius: 11px;
	background: var(--blue-soft);
	color: var(--blue-light);
}

.content-card-icon .icon {
	width: 19px;
	height: 19px;
}

.content-card-header h2 {
	font-family: var(--display);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.content-card-header p {
	color: var(--muted);
	font-size: 13px;
}

.content-card-header .end {
	margin-left: auto;
}

.form {
	display: grid;
	gap: 12px;
	margin-top: 16px;
}

.form label {
	display: grid;
	gap: 5px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
}

.form .btn {
	justify-self: start;
}

.star-picker {
	display: flex;
	gap: 2px;
}

.star-picker button {
	padding: 0 2px;
	border: 0;
	background: none;
	color: #2b3648;
	font-size: 24px;
	line-height: 1.2;
	cursor: pointer;
}

.star-picker button.on {
	color: var(--warn);
}

.list {
	display: grid;
	gap: 8px;
}

.row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 13px 16px;
	border: 1px solid var(--line);
	border-radius: 11px;
	background: var(--card);
}

.row-main {
	flex: 1;
	min-width: 0;
}

.row-title {
	font-size: 14px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.row-detail {
	margin-top: 1px;
	color: var(--muted);
	font-size: 13px;
	overflow-wrap: anywhere;
}

.row-actions {
	flex: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.tag {
	flex: none;
	padding: 2px 8px;
	border-radius: 6px;
	background: var(--card-2);
	color: var(--muted);
	font-size: 12px;
	font-weight: 600;
}

.tag.good {
	background: rgba(63, 210, 154, .12);
	color: var(--good);
}

.tag.warn {
	background: rgba(243, 178, 76, .12);
	color: var(--warn);
}

.tag.bad {
	background: rgba(240, 106, 106, .12);
	color: var(--bad);
}

.empty-state {
	padding: 40px 24px;
	border: 1px dashed var(--line);
	border-radius: 12px;
	color: var(--dim);
	text-align: center;
}

.toast {
	position: fixed;
	z-index: 60;
	right: 22px;
	bottom: 22px;
	max-width: calc(100vw - 44px);
	padding: 12px 16px;
	border: 1px solid var(--line-strong);
	border-radius: 10px;
	background: var(--card-2);
	font-size: 14px;
}

.btn.danger-fill {
	border-color: transparent;
	background: #d94f4f;
	color: #fff;
}

.btn.danger-fill:hover {
	background: #e86363;
}

.modal {
	width: min(420px, calc(100vw - 32px));
	padding: 22px;
	border: 1px solid var(--line-strong);
	border-radius: 14px;
	background: var(--lit), var(--card);
	color: var(--text);
}

.modal::backdrop {
	background: rgba(4, 6, 10, .68);
	backdrop-filter: blur(3px);
}

.modal h2 {
	font-family: var(--display);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
}

.modal p {
	margin-top: 6px;
	color: var(--muted);
	font-size: 14px;
	overflow-wrap: anywhere;
}

.modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 20px;
}

.drawer-shade {
	display: none;
}

@media (max-width: 960px) {
	.app-shell {
		display: block;
		height: auto;
		min-height: 100vh;
		padding: 0;
		overflow: visible;
	}

	.sidebar {
		position: fixed;
		z-index: 50;
		top: 0;
		bottom: 0;
		left: 0;
		border-radius: 0 16px 16px 0;
		transform: translateX(-102%);
		transition: transform .2s ease;
	}

	.sidebar.open {
		transform: none;
	}

	.drawer-shade.open {
		display: block;
		position: fixed;
		z-index: 45;
		inset: 0;
		background: rgba(4, 6, 10, .6);
	}

	.main {
		min-height: 100vh;
		border: 0;
		border-radius: 0;
		overflow: visible;
	}

	.topbar {
		position: sticky;
		z-index: 30;
		top: 0;
		padding: 11px 14px;
		background: var(--bg-2);
	}

	.menu-toggle {
		display: inline-flex;
		padding: 0 10px;
	}

	.page-content {
		padding: 18px 14px 32px;
		overflow: visible;
	}

	.stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.navbar {
		grid-template-columns: 1fr auto;
		padding: 0 16px;
	}

	.navbar-links {
		display: none;
		position: absolute;
		top: 68px;
		left: 0;
		right: 0;
		flex-direction: column;
		gap: 0;
		padding: 8px 16px 14px;
		background: var(--bg-2);
		border-bottom: 1px solid var(--line);
	}

	.navbar-links.open {
		display: flex;
	}

	.navbar-links a, .navbar-links button {
		padding: 9px 0;
		font-size: 15px;
		text-align: left;
	}

	.navbar-toggle {
		display: inline-flex;
	}

	.hero {
		min-height: 0;
		padding: 64px 16px 72px;
	}

	.section {
		padding: 64px 16px;
	}

	.figures {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}

	.steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.module-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-brand {
		grid-column: 1 / -1;
	}

	.search {
		flex: 1 1 100%;
		margin: 0 0 8px;
	}

	.page-head {
		padding: 44px 16px 0;
	}

	.page-body {
		padding: 24px 16px 64px;
	}

	.row {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.topbar-title {
		font-size: 17px;
	}

	.topbar-right .btn-label {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.btn, .step, .sidebar, .module, .tip, .tip.visible {
		transition: none;
	}

	.module:hover, .module:focus-visible {
		transform: none;
	}

	.hero-canvas {
		display: none;
	}

	.hero-content > * {
		animation: none;
	}

	.navbar-links a, .navbar-links button {
		transition: none;
	}
}
