@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700;800&display=swap");

/*
Theme Name: SmartExpert
Theme URI: https://example.com/smartexpert
Author: Akademiia Zina Product Team
Author URI: https://academy-zina.com.ua
Description: Корпоративна LMS-платформа для навчання, адаптації, оцінювання та розвитку команди.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: smartexpert
*/

:root {
	--bg: #f7f7f1;
	--surface: #fffdf7;
	--surface-strong: #0f2415;
	--surface-dark: #121e11;
	--card: rgba(255, 255, 255, 0.82);
	--card-strong: rgba(18, 30, 17, 0.92);
	--line: rgba(3, 135, 78, 0.12);
	--line-strong: rgba(255, 250, 241, 0.16);
	--text: #1a1a1a;
	--text-soft: #5f6a62;
	--text-on-dark: #fffdf7;
	--accent: #03874e;
	--accent-strong: #02653a;
	--accent-soft: #8cc63f;
	--success: #8cc63f;
	--shadow: 0 24px 80px rgba(26, 26, 26, 0.08);
	--radius-xl: 32px;
	--radius-lg: 24px;
	--radius-md: 18px;
	--radius-sm: 12px;
	--container: 1180px;
	--font-display: "Raleway", "Montserrat", sans-serif;
	--font-body: "Montserrat", "Segoe UI", sans-serif;
	--font-accent: "Caveat", cursive;
}

.smart-company-preview {
	display: grid;
	gap: 24px;
}

.smart-company-preview__brand {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 20px 22px;
	border: 1px solid rgba(15, 15, 15, 0.08);
	border-radius: 28px;
	background: #fff;
}

.smart-company-preview__brand strong,
.smart-company-preview__brand span {
	display: block;
}

.smart-company-preview__brand strong {
	font-size: 1.25rem;
	font-weight: 800;
	color: #0f0f0f;
}

.smart-company-preview__brand span {
	margin-top: 6px;
	color: rgba(15, 15, 15, 0.62);
}

.smart-company-preview__image {
	padding: 18px;
	border: 1px solid rgba(15, 15, 15, 0.08);
	border-radius: 28px;
	background: #fff;
}

.smart-company-preview__image img {
	display: block;
	max-width: 100%;
	max-height: 120px;
	object-fit: contain;
}

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

.smart-company-preview__meta div {
	padding: 16px 18px;
	border-radius: 24px;
	background: rgba(3, 135, 78, 0.05);
	border: 1px solid rgba(3, 135, 78, 0.12);
	color: #0f0f0f;
}

@media (max-width: 860px) {
	.smart-company-preview__meta {
		grid-template-columns: 1fr;
	}
}

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

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at top left, rgba(3, 135, 78, 0.1), transparent 28%),
		radial-gradient(circle at right 15%, rgba(41, 171, 226, 0.12), transparent 22%),
		linear-gradient(180deg, #fbfaf6 0%, #f7f7f1 50%, #f4f7f0 100%);
	color: var(--text);
	font-family: var(--font-body);
	line-height: 1.6;
	font-weight: 500;
	font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

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

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

.smart-site {
	overflow: hidden;
}

.smart-container {
	width: min(var(--container), calc(100% - 32px));
	margin: 0 auto;
}

.smart-header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(16px);
	background: rgba(255, 253, 247, 0.84);
	border-bottom: 1px solid rgba(31, 60, 54, 0.08);
}

body.admin-bar .smart-header {
	top: 32px;
}

.smart-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 82px;
}

.smart-brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.85rem;
	line-height: 1;
}

.smart-brand__mark {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: linear-gradient(145deg, var(--accent), var(--accent-soft));
	color: #fff;
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 12px 25px rgba(3, 135, 78, 0.28);
}

.smart-nav {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.smart-nav a {
	padding: 10px 14px;
	border-radius: 999px;
	color: var(--text-soft);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.15;
	transition: 0.25s ease;
}

.smart-nav a:hover,
.smart-nav a:focus {
	background: rgba(31, 60, 54, 0.07);
	color: var(--text);
}

.smart-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 22px;
	border-radius: 999px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	border: 1px solid transparent;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.smart-button:hover,
.smart-button:focus {
	transform: translateY(-2px);
}

.smart-button--primary {
	background: linear-gradient(135deg, var(--accent), var(--accent-soft));
	color: #fff;
	box-shadow: 0 16px 40px rgba(3, 135, 78, 0.2);
}

.smart-button--primary:hover,
.smart-button--primary:focus {
	background: var(--accent-strong);
}

.smart-button--ghost {
	border-color: rgba(31, 60, 54, 0.14);
	background: rgba(255, 255, 255, 0.52);
}

.smart-hero {
	padding: 64px 0 40px;
}

.smart-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
	gap: 36px;
	align-items: stretch;
}

.smart-panel {
	background: var(--card);
	border: 1px solid rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(12px);
	border-radius: var(--radius-xl);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.smart-hero__content {
	padding: 36px;
	position: relative;
}

.smart-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(31, 60, 54, 0.08);
	color: var(--text-soft);
	font-size: 0.88rem;
}

.smart-hero h1,
.smart-section-title {
	margin: 18px 0 18px;
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 4vw, 5.2rem);
	line-height: 0.98;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.smart-hero p {
	max-width: 680px;
	font-size: 1.08rem;
	color: var(--text-soft);
}

.smart-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.smart-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 30px;
}

.smart-stat {
	padding: 18px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(31, 60, 54, 0.08);
}

.smart-stat strong {
	display: block;
	font-size: 1.7rem;
	font-family: var(--font-display);
	line-height: 1;
}

.smart-stat span {
	display: block;
	margin-top: 8px;
	color: var(--text-soft);
	font-size: 0.92rem;
}

.smart-console {
	padding: 26px;
	background: linear-gradient(180deg, rgba(18, 30, 17, 0.98), rgba(12, 24, 13, 0.96));
	color: var(--text-on-dark);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.smart-console__window {
	border-radius: 28px;
	padding: 22px;
	background: rgba(255, 250, 241, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	min-height: 100%;
}

.smart-dots {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
}

.smart-dots span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
}

.smart-dots span:first-child {
	background: #ff8e68;
}

.smart-dots span:nth-child(2) {
	background: #ffd166;
}

.smart-dots span:nth-child(3) {
	background: #7acb89;
}

.smart-console__grid {
	display: grid;
	gap: 14px;
}

.smart-mini-card {
	padding: 18px;
	border-radius: var(--radius-md);
	background: rgba(255, 250, 241, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.smart-mini-card strong,
.smart-kpi strong,
.smart-score strong {
	display: block;
	font-size: 1rem;
}

.smart-mini-card span,
.smart-kpi span,
.smart-score span {
	display: block;
	margin-top: 8px;
	font-size: 0.94rem;
	color: rgba(248, 243, 234, 0.74);
}

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

.smart-kpi {
	padding: 16px;
	border-radius: var(--radius-md);
	background: rgba(255, 255, 255, 0.05);
}

.smart-section {
	padding: 56px 0;
}

.smart-section-title {
	font-size: clamp(2rem, 3vw, 3.5rem);
}

.smart-section-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
}

.smart-section-heading p {
	max-width: 620px;
	color: var(--text-soft);
	margin: 0;
}

.smart-module-grid,
.smart-role-grid,
.smart-proof-grid,
.smart-pricing-grid {
	display: grid;
	gap: 18px;
}

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

.smart-card {
	padding: 24px;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(31, 60, 54, 0.08);
	box-shadow: var(--shadow);
}

.smart-card__icon {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 16px;
	background: linear-gradient(145deg, rgba(140, 198, 63, 0.22), rgba(41, 171, 226, 0.12));
	color: var(--accent);
	font-weight: 700;
	font-size: 1.2rem;
	margin-bottom: 16px;
}

.smart-card h3,
.smart-role-card h3,
.smart-pricing-card h3 {
	margin: 0 0 12px;
	font-size: 1.2rem;
}

.smart-card p,
.smart-role-card p,
.smart-pricing-card p {
	margin: 0;
	color: var(--text-soft);
}

.smart-checklist {
	list-style: none;
	padding: 0;
	margin: 18px 0 0;
	display: grid;
	gap: 10px;
}

.smart-checklist li {
	position: relative;
	padding-left: 24px;
	color: var(--text-soft);
}

.smart-checklist li::before {
	content: "";
	position: absolute;
	top: 10px;
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 5px rgba(222, 111, 61, 0.14);
}

.smart-band {
	padding: 34px 0;
}

.smart-band__inner {
	padding: 28px;
	border-radius: var(--radius-xl);
	background: linear-gradient(135deg, var(--surface-strong), #17321d);
	color: var(--text-on-dark);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.smart-score {
	padding: 18px;
	border-radius: var(--radius-md);
	background: rgba(255, 250, 241, 0.06);
	border: 1px solid var(--line-strong);
}

.smart-timeline {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.smart-step {
	padding: 22px;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(31, 60, 54, 0.08);
	position: relative;
	box-shadow: var(--shadow);
}

.smart-step__number {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--accent);
	color: #fff;
	font-weight: 700;
	margin-bottom: 16px;
}

.smart-role-grid,
.smart-proof-grid,
.smart-pricing-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.smart-role-card,
.smart-pricing-card {
	padding: 24px;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(31, 60, 54, 0.08);
	box-shadow: var(--shadow);
}

.smart-proof {
	padding: 20px;
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.76);
	border: 1px solid rgba(31, 60, 54, 0.08);
}

.smart-proof strong {
	display: block;
	font-size: 2rem;
	font-family: var(--font-display);
	margin-bottom: 6px;
}

.smart-proof span {
	color: var(--text-soft);
}

.smart-pricing-card--featured {
	background: linear-gradient(180deg, rgba(235, 244, 223, 0.96), rgba(255, 255, 255, 0.92));
	border-color: rgba(3, 135, 78, 0.2);
}

.smart-price {
	display: block;
	margin: 16px 0;
	font-size: 2rem;
	font-family: var(--font-display);
}

.smart-cta {
	padding-bottom: 72px;
}

.smart-cta__panel {
	padding: 38px;
	border-radius: 36px;
	background: linear-gradient(135deg, rgba(18, 30, 17, 0.98), rgba(3, 135, 78, 0.88));
	color: var(--text-on-dark);
	box-shadow: var(--shadow);
}

.smart-cta__panel p {
	color: rgba(248, 243, 234, 0.74);
	max-width: 720px;
}

.smart-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 24px;
}

.smart-footer {
	padding: 22px 0 40px;
}

.smart-auth-page,
.smart-cabinet-page {
	padding-top: 56px;
}

.smart-dashboard {
	display: grid;
	grid-template-columns: 292px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.smart-dashboard__sidebar {
	position: sticky;
	top: 102px;
	padding: 22px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 248, 0.96));
}

.smart-dashboard__sidebar-inner {
	display: grid;
	gap: 22px;
}

.smart-dashboard__brand {
	display: flex;
	align-items: center;
	gap: 14px;
}

.smart-dashboard__brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 20px;
	background: linear-gradient(135deg, var(--accent), var(--accent-soft));
	color: #fff;
	font-weight: 800;
	box-shadow: 0 16px 40px rgba(3, 135, 78, 0.22);
}

.smart-dashboard__brand strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1.1rem;
}

.smart-dashboard__brand span {
	display: block;
	margin-top: 4px;
	font-size: 0.86rem;
	color: var(--text-soft);
}

.smart-dashboard__nav {
	display: grid;
	gap: 10px;
}

.smart-dashboard__link {
	display: block;
	padding: 13px 16px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(3, 135, 78, 0.08);
	color: var(--text);
	font-weight: 600;
	transition: 0.25s ease;
}

.smart-dashboard__link:hover,
.smart-dashboard__link:focus {
	border-color: rgba(3, 135, 78, 0.2);
	transform: translateX(2px);
}

.smart-dashboard__link.is-active {
	background: linear-gradient(135deg, rgba(3, 135, 78, 0.12), rgba(140, 198, 63, 0.14));
	color: var(--accent);
	border-color: rgba(3, 135, 78, 0.2);
}

.smart-dashboard__meta {
	padding: 18px;
	border-radius: 22px;
	background: rgba(140, 198, 63, 0.08);
	color: var(--text-soft);
	font-size: 0.9rem;
}

.smart-dashboard__content {
	min-width: 0;
}

.smart-dashboard__metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
}

.smart-dashboard__metric {
	padding: 22px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(3, 135, 78, 0.08);
	box-shadow: var(--shadow);
}

.smart-dashboard__metric strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1.8rem;
	line-height: 1;
}

.smart-dashboard__metric span {
	display: block;
	margin-top: 10px;
	color: var(--text-soft);
}

.smart-kb-layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.smart-kb-sidebar {
	padding: 22px;
	position: sticky;
	top: 102px;
}

.smart-kb-search__label,
.smart-kb-tree__title {
	display: block;
	margin-bottom: 10px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--text-soft);
}

.smart-kb-search__input {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(3, 135, 78, 0.12);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.92);
	font: inherit;
	color: var(--text);
}

.smart-kb-tree,
.smart-kb-tags {
	margin-top: 20px;
}

.smart-kb-tree__link {
	display: block;
	padding: 12px 14px;
	margin-bottom: 10px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(3, 135, 78, 0.08);
	font-weight: 600;
}

.smart-kb-tree__link.is-active {
	background: linear-gradient(135deg, rgba(3, 135, 78, 0.12), rgba(140, 198, 63, 0.12));
	color: var(--accent);
	border-color: rgba(3, 135, 78, 0.18);
}

.smart-kb-content {
	display: grid;
	gap: 32px;
}

.smart-kb-section {
	padding: 0;
}

.smart-kb-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.smart-kb-card {
	padding: 24px;
	border-radius: 26px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(3, 135, 78, 0.08);
	box-shadow: var(--shadow);
}

.smart-kb-card__top,
.smart-kb-card__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.smart-kb-card h3 {
	margin: 16px 0 12px;
	font-size: 1.18rem;
}

.smart-kb-card p {
	margin: 0;
	color: var(--text-soft);
}

.smart-kb-card__badge,
.smart-kb-status {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 700;
}

.smart-kb-card__badge {
	background: rgba(41, 171, 226, 0.08);
	color: var(--support-blue);
}

.smart-kb-card__badge.is-required {
	background: rgba(234, 35, 45, 0.08);
	color: var(--support-red);
}

.smart-kb-card__meta {
	color: var(--text-soft);
	font-size: 0.88rem;
}

.smart-kb-card__footer {
	margin-top: 18px;
	justify-content: flex-start;
}

.smart-kb-status {
	background: rgba(3, 135, 78, 0.06);
	color: var(--accent);
}

.smart-kb-status.is-new {
	background: rgba(140, 198, 63, 0.14);
	color: var(--accent-strong);
}

.smart-kb-status.is-warning {
	background: rgba(251, 176, 59, 0.16);
	color: #9a6400;
}

.smart-kb-status.is-read {
	background: rgba(3, 135, 78, 0.08);
	color: var(--accent);
}

.smart-kb-feed {
	display: grid;
	gap: 14px;
}

.smart-kb-feed__item {
	padding: 18px 20px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(3, 135, 78, 0.08);
	box-shadow: var(--shadow);
}

.smart-kb-feed__item strong {
	display: block;
	margin-bottom: 8px;
}

.smart-kb-feed__item span {
	color: var(--text-soft);
}

.smart-course-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 24px;
	align-items: start;
}

.smart-course-list {
	display: grid;
	gap: 20px;
}

.smart-course-card {
	padding: 24px;
	border-radius: 26px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(3, 135, 78, 0.08);
	box-shadow: var(--shadow);
}

.smart-course-card--accordion {
	padding: 0;
	overflow: hidden;
}

.smart-course-summary {
	list-style: none;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding: 24px;
	cursor: pointer;
}

.smart-course-summary::-webkit-details-marker {
	display: none;
}

.smart-course-summary__main {
	min-width: 0;
	display: grid;
	gap: 12px;
}

.smart-course-summary__side {
	display: grid;
	justify-items: end;
	gap: 12px;
	flex-shrink: 0;
}

.smart-course-card[open] .smart-course-summary__cta {
	display: none;
}

.smart-course-card__content {
	padding: 0 24px 24px;
}

.smart-course-card__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.smart-course-card__header h3 {
	margin: 12px 0 0;
	font-size: 1.24rem;
}

.smart-course-card__progress {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 74px;
	padding: 10px 14px;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(3, 135, 78, 0.12), rgba(140, 198, 63, 0.14));
	color: var(--accent);
	font-weight: 800;
}

.smart-course-card p {
	margin: 16px 0;
	color: var(--text-soft);
}

.smart-progress {
	height: 10px;
	border-radius: 999px;
	background: rgba(3, 135, 78, 0.08);
	overflow: hidden;
}

.smart-progress__bar {
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}

.smart-course-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.smart-course-card__meta span {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(3, 135, 78, 0.08);
	color: var(--text-soft);
	font-size: 0.88rem;
}

.smart-course-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.smart-inline-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 18px;
}

.smart-inline-form {
	display: inline-flex;
}

.smart-inline-form .smart-button,
.smart-inline-actions .smart-button {
	min-height: 48px;
}

.smart-course-test {
	margin-top: 22px;
	padding: 22px;
	border-radius: 22px;
	background: #ffffff;
	border: 1px solid rgba(3, 135, 78, 0.14);
	box-shadow: inset 0 0 0 1px rgba(3, 135, 78, 0.03);
}

.smart-course-test__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 16px;
}

.smart-course-test__head strong {
	font-size: 1.05rem;
}

.smart-course-test__head span,
.smart-course-test__note {
	color: var(--text-soft);
}

.smart-course-test__inline-notice {
	display: grid;
	gap: 6px;
	margin: 14px 0 4px;
	padding: 14px 16px;
	border-radius: 18px;
	border: 1px solid rgba(15, 15, 15, 0.08);
	background: rgba(252, 206, 190, 0.28);
	color: var(--text);
}

.smart-course-test__inline-notice strong {
	font-size: 0.98rem;
}

.smart-course-test__inline-notice span {
	color: var(--text-soft);
	font-size: 0.92rem;
}

.smart-course-test__inline-notice.is-success {
	background: rgba(3, 135, 78, 0.08);
	border-color: rgba(3, 135, 78, 0.18);
}

.smart-course-test__inline-notice.is-warning {
	background: rgba(234, 35, 45, 0.08);
	border-color: rgba(234, 35, 45, 0.18);
}

.smart-course-test__form {
	display: grid;
	gap: 16px;
}

.smart-course-test__history {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
}

.smart-course-test__history span {
	padding: 7px 10px;
	border-radius: 999px;
	background: rgba(3, 135, 78, 0.08);
	color: var(--text-soft);
	font-size: 0.85rem;
}

.smart-test-question {
	margin: 0;
	padding: 16px 18px;
	border-radius: 18px;
	border: 1px solid rgba(3, 135, 78, 0.08);
	background: rgba(255, 255, 255, 0.84);
}

.smart-test-question legend {
	padding: 0 8px;
	font-weight: 700;
}

.smart-test-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 12px;
	color: var(--text);
	cursor: pointer;
}

.smart-test-option input {
	margin-top: 2px;
}

.smart-test-option span {
	color: var(--text);
}

.smart-course-test__form .smart-button {
	min-height: 54px;
	font-size: 1rem;
	font-weight: 700;
}

.smart-course-side {
	padding: 22px;
	position: sticky;
	top: 102px;
}

.smart-course-side__block + .smart-course-side__block {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(3, 135, 78, 0.08);
}

.smart-course-side__block h3 {
	margin: 12px 0 14px;
	font-size: 1.1rem;
}

.smart-course-side__item {
	padding: 14px 0;
	border-top: 1px solid rgba(3, 135, 78, 0.08);
}

.smart-course-side__item:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.smart-course-side__item strong {
	display: block;
	margin-bottom: 6px;
}

.smart-course-side__item span {
	color: var(--text-soft);
}

.smart-review-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 24px;
	align-items: start;
}

.smart-review-main {
	display: grid;
	gap: 24px;
}

.smart-review-card {
	padding: 24px;
}

.smart-review-skills {
	display: grid;
	gap: 18px;
}

.smart-review-skill {
	padding: 18px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(3, 135, 78, 0.08);
}

.smart-review-skill__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.smart-review-skill__head strong {
	font-size: 1rem;
}

.smart-review-skill__head span {
	color: var(--accent);
	font-weight: 800;
}

.smart-review-skill p {
	margin: 12px 0 0;
	color: var(--text-soft);
}

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

.smart-ninebox__cell {
	min-height: 110px;
	padding: 16px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(3, 135, 78, 0.08);
	display: flex;
	align-items: end;
	font-size: 0.92rem;
	color: var(--text-soft);
}

.smart-ninebox__cell.is-active {
	background: linear-gradient(135deg, rgba(3, 135, 78, 0.14), rgba(140, 198, 63, 0.18));
	color: var(--accent-strong);
	font-weight: 700;
	border-color: rgba(3, 135, 78, 0.18);
}

.smart-review-side {
	padding: 22px;
	position: sticky;
	top: 102px;
}

.smart-review-side__block + .smart-review-side__block {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(3, 135, 78, 0.08);
}

.smart-review-side__block h3 {
	margin: 12px 0 14px;
	font-size: 1.1rem;
}

.smart-review-side__block p {
	margin: 0;
	color: var(--text-soft);
}

.smart-achievement-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 24px;
	align-items: start;
}

.smart-achievement-main {
	display: grid;
	gap: 24px;
}

.smart-achievement-wallet,
.smart-achievement-badges {
	padding: 24px;
}

.smart-achievement-wallet__grid,
.smart-achievement-badges__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.smart-achievement-tile,
.smart-achievement-badge {
	padding: 20px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(3, 135, 78, 0.08);
}

.smart-achievement-tile.is-accent {
	background: linear-gradient(135deg, rgba(3, 135, 78, 0.14), rgba(140, 198, 63, 0.18));
}

.smart-achievement-tile strong,
.smart-achievement-badge strong {
	display: block;
	font-size: 1.3rem;
	margin-bottom: 10px;
}

.smart-achievement-tile span,
.smart-achievement-badge span {
	color: var(--text-soft);
}

.smart-achievement-badge__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 12px;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--accent), var(--accent-soft));
	color: #fff;
	font-weight: 800;
}

.smart-achievement-side {
	padding: 22px;
	position: sticky;
	top: 102px;
}

.smart-achievement-side__block + .smart-achievement-side__block {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(3, 135, 78, 0.08);
}

.smart-achievement-side__block h3 {
	margin: 12px 0 14px;
	font-size: 1.1rem;
}

.smart-achievement-rank,
.smart-achievement-reward {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 0;
	border-top: 1px solid rgba(3, 135, 78, 0.08);
}

.smart-achievement-rank:first-of-type,
.smart-achievement-reward:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.smart-achievement-rank.is-active {
	color: var(--accent);
	font-weight: 700;
}

.smart-achievement-rank strong,
.smart-achievement-reward strong {
	flex: 0 0 auto;
}

.smart-achievement-rank em {
	margin-left: auto;
	font-style: normal;
	font-weight: 700;
	color: var(--accent-strong);
}

.smart-achievement-rank__body {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.smart-achievement-rank__body span,
.smart-achievement-rank__body small,
.smart-achievement-reward small {
	color: var(--text-soft);
}

.smart-achievement-reward--stack {
	display: grid;
	align-items: start;
	gap: 8px;
}

.smart-achievement-tip {
	display: grid;
	gap: 6px;
	padding: 18px 20px;
	border-radius: 24px;
	border: 1px solid rgba(3, 135, 78, 0.1);
	background: rgba(255, 255, 255, 0.84);
}

.smart-achievement-store,
.smart-achievement-certificates {
	padding: 24px;
}

.smart-achievement-wheel {
	padding: 24px;
}

.smart-achievement-wheel__layout {
	display: grid;
	grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.smart-achievement-wheel__visual,
.smart-achievement-wheel__side {
	display: grid;
	gap: 18px;
}

.smart-fortune-wheel-wrap {
	position: relative;
	width: min(100%, 360px);
	margin: 0 auto;
	padding-top: 34px;
}

.smart-fortune-wheel__pointer-label {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	padding: 8px 14px;
	border-radius: 999px;
	background: #0f0f0f;
	color: #ffffff;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	z-index: 4;
	box-shadow: 0 14px 28px rgba(15, 15, 15, 0.18);
}

.smart-fortune-wheel {
	position: relative;
	width: min(100%, 360px);
	aspect-ratio: 1;
	margin: 0 auto;
	border-radius: 50%;
	border: 14px solid rgba(15, 15, 15, 0.08);
	background: #ffffff;
	box-shadow: 0 18px 42px rgba(15, 15, 15, 0.08);
	transition: transform 4.6s cubic-bezier(0.14, 0.9, 0.12, 1);
	will-change: transform;
	overflow: hidden;
}

.smart-fortune-wheel__disc {
	position: absolute;
	inset: 14px;
	border-radius: 50%;
	background:
		conic-gradient(
			from -90deg,
			#03874E 0deg 60deg,
			#3E6697 60deg 120deg,
			#EF8421 120deg 180deg,
			#EA232D 180deg 240deg,
			#FCCEBE 240deg 300deg,
			#0F0F0F 300deg 360deg
		);
	box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.78);
}

.smart-fortune-wheel__segment {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 42%;
	transform-origin: 0 0;
	transform:
		rotate(calc(var(--segment-index) * 60deg - 60deg))
		translateY(-50%)
		translateX(18px);
	color: #ffffff;
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1.15;
	text-shadow: 0 1px 6px rgba(15, 15, 15, 0.22);
	pointer-events: none;
	display: grid;
	gap: 6px;
	justify-items: center;
	text-align: center;
}

.smart-fortune-wheel__segment-icon {
	font-size: 1.35rem;
	line-height: 1;
	display: block;
	filter: drop-shadow(0 2px 6px rgba(15, 15, 15, 0.22));
}

.smart-fortune-wheel__segment-text {
	display: block;
	font-size: 0.8rem;
	max-width: 92px;
}

.smart-fortune-wheel__segment.is-winning {
	filter: brightness(1.08) saturate(1.12);
}

.smart-fortune-wheel__segment.is-winning .smart-fortune-wheel__segment-text,
.smart-fortune-wheel__segment.is-winning .smart-fortune-wheel__segment-icon {
	transform: scale(1.08);
}

.smart-fortune-wheel__pointer {
	position: absolute;
	top: 38px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 22px solid transparent;
	border-right: 22px solid transparent;
	border-top: 0;
	border-bottom: 40px solid #0f0f0f;
	z-index: 3;
	filter: drop-shadow(0 6px 14px rgba(15, 15, 15, 0.22));
}

.smart-fortune-wheel__center {
	position: absolute;
	inset: 50%;
	transform: translate(-50%, -50%);
	width: 112px;
	height: 112px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid rgba(15, 15, 15, 0.08);
	display: grid;
	place-items: center;
	text-align: center;
	z-index: 2;
	box-shadow: 0 10px 24px rgba(15, 15, 15, 0.08);
}

.smart-fortune-wheel__center strong {
	display: block;
	font-size: 1.8rem;
	line-height: 1;
}

.smart-fortune-wheel__center span {
	display: block;
	font-size: 0.85rem;
	color: var(--text-soft);
}

.smart-fortune-wheel__legend {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 14px;
}

.smart-fortune-wheel__legend-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.95rem;
	color: var(--text-soft);
	padding: 10px 12px;
	border-radius: 18px;
	border: 1px solid rgba(15, 15, 15, 0.08);
	background: rgba(255, 255, 255, 0.94);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.smart-fortune-wheel__legend-item i {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	display: inline-block;
	flex: 0 0 auto;
}

.smart-fortune-wheel__legend-item strong {
	font-size: 1rem;
	line-height: 1;
}

.smart-fortune-wheel__legend-item.is-winning {
	border-color: rgba(3, 135, 78, 0.3);
	box-shadow: 0 12px 26px rgba(3, 135, 78, 0.14);
	transform: translateY(-2px);
}

.smart-fortune-form .smart-button {
	width: 100%;
}

.smart-fortune-result {
	display: grid;
	gap: 6px;
	padding: 18px 20px;
	border-radius: 24px;
	border: 1px solid rgba(3, 135, 78, 0.14);
	background: rgba(3, 135, 78, 0.06);
}

.smart-fortune-result.is-spinning {
	border-color: rgba(62, 102, 151, 0.18);
	background: rgba(62, 102, 151, 0.08);
}

.smart-fortune-result.is-error {
	border-color: rgba(234, 35, 45, 0.18);
	background: rgba(234, 35, 45, 0.07);
}

.smart-fortune-result.is-success {
	border-color: rgba(3, 135, 78, 0.22);
	background: rgba(3, 135, 78, 0.08);
}

.smart-fortune-result strong {
	font-size: 1rem;
}

.smart-fortune-result span,
.smart-fortune-result small {
	color: var(--text-soft);
}

.smart-fortune-history {
	display: grid;
	gap: 8px;
}

.smart-fortune-history > strong {
	font-size: 1rem;
}

.smart-wheel-modal {
	position: fixed;
	inset: 0;
	z-index: 60;
	display: grid;
	place-items: center;
	padding: 24px;
}

.smart-wheel-modal[hidden] {
	display: none !important;
}

.smart-wheel-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 15, 15, 0.52);
	backdrop-filter: blur(4px);
}

.smart-wheel-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 520px);
	display: grid;
	gap: 14px;
	padding: 28px;
	border-radius: 30px;
	background: #ffffff;
	box-shadow: 0 28px 80px rgba(15, 15, 15, 0.24);
	text-align: center;
}

.smart-wheel-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid rgba(15, 15, 15, 0.1);
	background: #ffffff;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.smart-wheel-modal__icon {
	width: 88px;
	height: 88px;
	margin: 0 auto;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(3, 135, 78, 0.12), rgba(239, 132, 33, 0.18));
	font-size: 2.4rem;
}

.smart-wheel-modal__label {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--text-main);
}

.smart-wheel-modal__meta {
	margin: 0;
	color: var(--text-soft);
	font-size: 1rem;
	line-height: 1.6;
}

.smart-wheel-modal__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: center;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(252, 206, 190, 0.44);
	color: var(--text-main);
	font-size: 0.92rem;
	font-weight: 700;
}

body.smart-modal-open {
	overflow: hidden;
}

.smart-achievement-store__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.smart-achievement-store-card {
	display: grid;
	gap: 14px;
	padding: 22px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(3, 135, 78, 0.08);
}

.smart-achievement-store-card__top,
.smart-achievement-store-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.smart-achievement-store-card__cost {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(239, 132, 33, 0.12);
	color: #ef8421;
	font-weight: 700;
}

.smart-achievement-store-card p,
.smart-achievement-store-card__meta {
	color: var(--text-soft);
}

.smart-onboarding-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 24px;
	align-items: start;
}

.smart-onboarding-main {
	display: grid;
	gap: 24px;
}

.smart-onboarding-board {
	padding: 24px;
}

.smart-onboarding-steps {
	display: grid;
	gap: 16px;
}

.smart-onboarding-step {
	padding: 20px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(3, 135, 78, 0.08);
}

.smart-onboarding-step__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.smart-onboarding-step__number,
.smart-onboarding-step__status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 700;
}

.smart-onboarding-step__number {
	background: rgba(3, 135, 78, 0.08);
	color: var(--accent);
}

.smart-onboarding-step__status {
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(3, 135, 78, 0.08);
	color: var(--text-soft);
}

.smart-onboarding-step.is-done {
	background: linear-gradient(135deg, rgba(140, 198, 63, 0.12), rgba(255, 255, 255, 0.95));
}

.smart-onboarding-step.is-review {
	background: linear-gradient(135deg, rgba(251, 176, 59, 0.12), rgba(255, 255, 255, 0.95));
}

.smart-onboarding-step.is-active {
	background: linear-gradient(135deg, rgba(41, 171, 226, 0.12), rgba(255, 255, 255, 0.95));
}

.smart-onboarding-step h3 {
	margin: 0 0 10px;
	font-size: 1.18rem;
}

.smart-onboarding-step p {
	margin: 0 0 14px;
	color: var(--text-soft);
}

.smart-onboarding-side {
	padding: 22px;
	position: sticky;
	top: 102px;
}

.smart-onboarding-side__block + .smart-onboarding-side__block {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(3, 135, 78, 0.08);
}

.smart-onboarding-side__block h3 {
	margin: 12px 0 14px;
	font-size: 1.1rem;
}

.smart-onboarding-side__block p {
	margin: 0;
	color: var(--text-soft);
}

.smart-manager-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 24px;
	align-items: start;
}

.smart-manager-main {
	display: grid;
	gap: 24px;
}

.smart-manager-board,
.smart-manager-card {
	padding: 24px;
}

.smart-manager-table {
	display: grid;
	gap: 10px;
}

.smart-manager-row {
	display: grid;
	grid-template-columns: 1.25fr 0.8fr 1fr 1.2fr;
	gap: 14px;
	align-items: center;
	padding: 16px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(3, 135, 78, 0.08);
}

.smart-manager-row--head {
	background: rgba(3, 135, 78, 0.06);
	color: var(--text-soft);
	font-weight: 700;
}

.smart-manager-row strong,
.smart-manager-row small {
	display: block;
}

.smart-manager-row small {
	margin-top: 4px;
	color: var(--text-soft);
}

.smart-status-pill {
	display: inline-flex;
	padding: 8px 12px;
	border-radius: 999px;
	font-style: normal;
	font-weight: 700;
}

.smart-status-pill.is-ok {
	background: rgba(140, 198, 63, 0.18);
	color: var(--accent-strong);
}

.smart-status-pill.is-warning {
	background: rgba(251, 176, 59, 0.18);
	color: #9a6400;
}

.smart-status-pill.is-strong {
	background: rgba(41, 171, 226, 0.14);
	color: #147aa4;
}

.smart-manager-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.smart-manager-card h3 {
	margin: 14px 0 10px;
}

.smart-manager-card p {
	color: var(--text-soft);
}

.smart-manager-side {
	padding: 22px;
	position: sticky;
	top: 102px;
}

.smart-manager-side__block + .smart-manager-side__block {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(3, 135, 78, 0.08);
}

.smart-manager-side__block h3 {
	margin: 12px 0 14px;
	font-size: 1.1rem;
}

.smart-auth-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
	gap: 24px;
	align-items: stretch;
}

.smart-auth-intro,
.smart-auth-card,
.smart-cabinet-hero {
	padding: 32px;
}

.smart-auth-card__inner h2 {
	margin: 16px 0 12px;
	font-size: 2rem;
	font-family: var(--font-display);
	line-height: 1.02;
}

.smart-login-form {
	margin-top: 22px;
}

.smart-login-form form {
	display: grid;
	gap: 16px;
}

.smart-login-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: var(--text);
}

.smart-login-form input[type="text"],
.smart-login-form input[type="password"] {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid rgba(31, 60, 54, 0.14);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.88);
	font: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.smart-login-form input[type="text"]:focus,
.smart-login-form input[type="password"]:focus {
	outline: none;
	border-color: rgba(3, 135, 78, 0.4);
	box-shadow: 0 0 0 4px rgba(3, 135, 78, 0.08);
	background: #fff;
}

.smart-login-form .login-remember {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.95rem;
	color: var(--text-soft);
}

.smart-login-form .login-remember label {
	margin: 0;
	font-weight: 500;
}

.smart-login-form input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 16px 28px rgba(180, 78, 34, 0.24);
}

.smart-auth-notice {
	margin-top: 18px;
	padding: 14px 16px;
	border-radius: 16px;
	background: rgba(251, 176, 59, 0.14);
	border: 1px solid rgba(251, 176, 59, 0.24);
	color: #7b4c00;
	font-weight: 600;
}

.smart-auth-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin-top: 18px;
	color: var(--text-soft);
	font-size: 0.95rem;
}

.smart-auth-links a {
	color: var(--accent);
	font-weight: 700;
}

.smart-auth-links a:hover,
.smart-auth-links a:focus {
	color: var(--accent-strong);
}

body.smart-modal-open {
	overflow: hidden;
}

.smart-modal {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.smart-modal.is-open {
	display: flex;
}

.smart-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 32, 28, 0.56);
	backdrop-filter: blur(10px);
}

.smart-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 560px);
	padding: 28px;
}

.smart-modal__dialog .smart-section-title {
	max-width: none;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.smart-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: rgba(3, 135, 78, 0.08);
	color: var(--accent-strong);
	font-size: 1.7rem;
	line-height: 1;
	cursor: pointer;
}

.smart-login-form--modal {
	margin-top: 18px;
}

.smart-cabinet-hero {
	display: flex;
	justify-content: space-between;
	gap: 32px;
	align-items: flex-start;
	flex-wrap: wrap;
}

.smart-cabinet-hero > :first-child {
	flex: 1 1 560px;
	min-width: 0;
}

.smart-cabinet-hero > :first-child p {
	max-width: 780px;
}

.smart-cabinet-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	flex: 0 1 260px;
	justify-content: flex-end;
}

.smart-dashboard__content {
	display: grid;
	gap: 24px;
	min-width: 0;
}

.smart-dashboard__content .smart-section-title {
	font-size: clamp(2.2rem, 3vw, 3.75rem);
	line-height: 1.02;
	max-width: min(16ch, 100%);
	text-wrap: balance;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

.smart-dashboard__content .smart-section-heading .smart-section-title {
	font-size: clamp(1.7rem, 2.35vw, 2.7rem);
	max-width: min(20ch, 100%);
}

.smart-dashboard__content .smart-cabinet-hero .smart-section-title {
	max-width: min(14ch, 100%);
}

.smart-dashboard__content .smart-cabinet-hero p {
	font-size: 1rem;
	line-height: 1.65;
}

.smart-dashboard__content .smart-button {
	white-space: nowrap;
	min-height: 46px;
	text-align: center;
}

.smart-cabinet-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.smart-cabinet-summary {
	min-height: 100%;
}

.smart-cabinet-detail {
	padding-bottom: 24px;
}

.smart-footer__inner {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 20px;
	border-top: 1px solid rgba(31, 60, 54, 0.1);
	color: var(--text-soft);
	font-size: 0.92rem;
}

.smart-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.smart-chip {
	padding: 9px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.68);
	border: 1px solid rgba(31, 60, 54, 0.08);
	color: var(--text-soft);
	font-size: 0.9rem;
}

.smart-admin-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
}

.smart-admin-grid--wide {
	grid-template-columns: 360px minmax(0, 1fr);
}

.smart-admin-card {
	padding: 24px;
}

.smart-admin-form {
	display: grid;
	gap: 16px;
}

.smart-admin-form label {
	display: grid;
	gap: 8px;
}

.smart-admin-form label span {
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--text);
}

.smart-admin-form input,
.smart-admin-form select,
.smart-admin-form textarea {
	width: 100%;
	padding: 14px 16px;
	border-radius: 18px;
	border: 1px solid rgba(3, 135, 78, 0.12);
	background: rgba(255, 255, 255, 0.92);
	font: inherit;
	color: var(--text);
}

.smart-admin-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.smart-admin-form__stack {
	display: grid;
	gap: 8px;
	margin-top: 18px;
}

.smart-admin-form__stack textarea {
	min-height: 140px;
	resize: vertical;
}

.smart-admin-form--filters {
	margin-bottom: 20px;
	padding: 18px;
	border: 1px solid rgba(3, 135, 78, 0.08);
	border-radius: 24px;
	background: rgba(3, 135, 78, 0.03);
}

.smart-admin-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.68);
}

.smart-admin-toggle input[type="checkbox"] {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
}

.smart-admin-inline-form {
	display: grid;
	gap: 10px;
	min-width: 220px;
}

.smart-admin-inline-form input,
.smart-admin-inline-form select,
.smart-admin-inline-form textarea {
	width: 100%;
}

.smart-admin-inline-form textarea {
	min-height: 72px;
	resize: vertical;
}

.smart-admin-inline-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.smart-admin-checkboxes {
	display: grid;
	gap: 10px;
	max-height: 280px;
	overflow: auto;
	padding: 16px;
	border-radius: 22px;
	background: rgba(3, 135, 78, 0.04);
	border: 1px solid rgba(3, 135, 78, 0.08);
}

.smart-admin-checkboxes label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.95rem;
}

.smart-admin-table {
	display: grid;
	gap: 10px;
}

.smart-admin-table__row {
	display: grid;
	grid-template-columns: minmax(220px, 2.2fr) minmax(180px, 1.2fr) minmax(150px, 1fr) minmax(130px, 0.8fr) minmax(160px, 0.9fr);
	gap: 18px;
	align-items: start;
	padding: 20px 22px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(3, 135, 78, 0.08);
}

.smart-admin-table__row--head {
	background: rgba(3, 135, 78, 0.06);
	font-weight: 800;
	color: var(--accent-strong);
}

.smart-admin-table__row strong,
.smart-admin-table__row small {
	display: block;
}

.smart-admin-table__row small {
	margin-top: 6px;
	color: var(--text-soft);
}

.smart-button--small {
	padding: 10px 14px;
	font-size: 0.88rem;
}

.smart-empty-state {
	display: grid;
	gap: 0.45rem;
	padding: 1.25rem;
	border: 1px dashed rgba(24, 46, 35, 0.14);
	border-radius: 24px;
	background: rgba(247, 248, 243, 0.9);
	color: var(--text-soft);
}

.smart-empty-state strong {
	color: var(--text-strong);
}

.smart-admin-builder {
	display: grid;
	gap: 16px;
	padding: 18px;
	border: 1px solid rgba(24, 46, 35, 0.08);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.72);
}

.smart-admin-builder__bar {
	display: grid;
	gap: 12px;
}

.smart-chip--button {
	border: 0;
	cursor: pointer;
	font: inherit;
}

.smart-course-card--stack {
	display: grid;
	gap: 24px;
}

.smart-course-route {
	display: grid;
	gap: 18px;
}

.smart-course-module {
	padding: 20px;
	border: 1px solid rgba(24, 46, 35, 0.08);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.65);
}

.smart-course-module__head {
	margin-bottom: 16px;
}

.smart-course-module__head h4 {
	margin: 6px 0 0;
	font-size: 1.2rem;
}

.smart-course-steps {
	display: grid;
	gap: 14px;
}

.smart-course-module + .smart-course-module {
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid rgba(15, 15, 15, 0.06);
}

.smart-course-module__title {
	margin: 0 0 18px;
	font-size: 1.5rem;
}

.smart-course-step {
	padding: 18px;
	border-radius: 22px;
	background: #fff;
	border: 1px solid rgba(24, 46, 35, 0.08);
	display: grid;
	gap: 14px;
}

.smart-course-step.is-locked {
	opacity: 0.62;
}

.smart-course-step.is-active {
	opacity: 1;
	border-color: rgba(3, 135, 78, 0.18);
	box-shadow: 0 16px 34px rgba(3, 135, 78, 0.08);
	background: #ffffff;
}

.smart-course-step.is-completed {
	border-color: rgba(32, 160, 74, 0.35);
	box-shadow: 0 18px 30px rgba(32, 160, 74, 0.08);
}

.smart-course-step__head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: flex-start;
}

.smart-course-step__head h5 {
	margin: 4px 0 0;
	font-size: 1.05rem;
}

.smart-course-step__type,
.smart-course-step__status {
	display: inline-flex;
	padding: 8px 12px;
	border-radius: 999px;
	background: var(--surface-alt);
	color: var(--text-soft);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.smart-course-step__status {
	background: rgba(53, 190, 91, 0.12);
	color: var(--accent-strong);
}

.smart-course-step__hint,
.smart-form-hint {
	margin: 0;
	color: var(--text-soft);
	font-size: 0.94rem;
}

.smart-course-step__video {
	display: grid;
	gap: 12px;
}

.smart-course-step__video-frame {
	margin-top: 16px;
	border-radius: 22px;
	overflow: hidden;
	background: #0f0f0f;
	aspect-ratio: 16 / 9;
}

.smart-course-step__video-frame iframe,
.smart-course-step__video-frame video {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.smart-course-video-player {
	width: 100%;
	border-radius: 18px;
	background: #12271d;
}

.smart-course-step__video-meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	color: var(--text-soft);
	font-size: 0.95rem;
}

.smart-input,
.smart-textarea {
	width: 100%;
	border: 1px solid rgba(15, 15, 15, 0.12);
	border-radius: 20px;
	background: #fff;
	color: var(--text);
	padding: 16px 18px;
	font: inherit;
}

.smart-textarea {
	min-height: 132px;
	resize: vertical;
}

@media (max-width: 1080px) {
	.smart-hero__grid,
	.smart-module-grid,
	.smart-role-grid,
	.smart-proof-grid,
	.smart-pricing-grid,
	.smart-timeline,
	.smart-dashboard__metrics,
	.smart-kb-layout,
	.smart-course-layout,
	.smart-review-layout,
	.smart-achievement-layout,
	.smart-onboarding-layout,
	.smart-manager-layout,
	.smart-admin-grid,
	.smart-auth-layout,
	.smart-band__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.smart-auth-layout {
		grid-template-columns: 1fr;
	}

	.smart-dashboard {
		grid-template-columns: 1fr;
	}

	.smart-dashboard__sidebar {
		position: static;
	}

	.smart-kb-layout {
		grid-template-columns: 1fr;
	}

	.smart-kb-sidebar {
		position: static;
	}

	.smart-course-layout {
		grid-template-columns: 1fr;
	}

	.smart-course-side {
		position: static;
	}

	.smart-review-layout {
		grid-template-columns: 1fr;
	}

	.smart-review-side {
		position: static;
	}

	.smart-achievement-layout {
		grid-template-columns: 1fr;
	}

	.smart-achievement-wheel__layout {
		grid-template-columns: 1fr;
	}

	.smart-achievement-side {
		position: static;
	}

	.smart-onboarding-layout {
		grid-template-columns: 1fr;
	}

	.smart-onboarding-side {
		position: static;
	}

	.smart-manager-layout {
		grid-template-columns: 1fr;
	}

	.smart-admin-grid--wide {
		grid-template-columns: 1fr;
	}

	.smart-manager-side {
		position: static;
	}
}

@media (max-width: 780px) {
	body.admin-bar .smart-header {
		top: 46px;
	}

	.smart-header__inner,
	.smart-section-heading,
	.smart-footer__inner,
	.smart-cabinet-hero {
		flex-direction: column;
		align-items: flex-start;
	}

	.smart-hero {
		padding-top: 32px;
	}

	.smart-hero__content,
	.smart-console,
	.smart-cta__panel,
	.smart-auth-intro,
	.smart-auth-card,
	.smart-cabinet-hero {
		padding: 24px;
	}

	.smart-hero__grid,
	.smart-module-grid,
	.smart-role-grid,
	.smart-proof-grid,
	.smart-pricing-grid,
	.smart-timeline,
	.smart-cabinet-grid,
	.smart-dashboard__metrics,
	.smart-kb-cards,
	.smart-course-layout,
	.smart-ninebox,
	.smart-achievement-wallet__grid,
	.smart-achievement-badges__grid,
	.smart-fortune-wheel__legend,
	.smart-onboarding-layout,
	.smart-manager-layout,
	.smart-manager-split,
	.smart-admin-grid,
	.smart-band__inner,
	.smart-stats,
	.smart-kpis {
		grid-template-columns: 1fr;
	}

	.smart-hero h1,
	.smart-section-title {
		line-height: 1.04;
	}

	.smart-nav {
		width: 100%;
		justify-content: flex-start;
		gap: 8px;
	}

	.smart-nav a {
		padding: 9px 12px;
		font-size: 0.9rem;
	}

	.smart-button {
		width: 100%;
	}

	.smart-hero__actions .smart-button {
		width: auto;
	}

	.smart-chip-row {
		gap: 8px;
	}

	.smart-chip {
		font-size: 0.85rem;
	}

	.smart-stat,
	.smart-card,
	.smart-role-card,
	.smart-pricing-card,
	.smart-proof,
	.smart-step,
	.smart-score,
	.smart-mini-card,
	.smart-kpi {
		padding: 18px;
	}

	.smart-cta__actions {
		width: 100%;
	}

	.smart-cta__actions .smart-button {
		width: 100%;
	}

	.smart-cabinet-hero__actions,
	.smart-cabinet-hero__actions .smart-button,
	.smart-login-form input[type="submit"] {
		width: 100%;
	}

	.smart-dashboard__sidebar,
	.smart-dashboard__meta,
	.smart-dashboard__metric,
	.smart-course-side,
	.smart-review-side,
	.smart-achievement-side,
	.smart-onboarding-side,
	.smart-manager-side {
		padding: 18px;
	}

	.smart-course-card__header {
		flex-direction: column;
		align-items: flex-start;
	}

	.smart-course-summary,
	.smart-course-summary__side {
		flex-direction: column;
		align-items: flex-start;
		justify-items: start;
	}

	.smart-review-skill__head {
		flex-direction: column;
		align-items: flex-start;
	}

	.smart-onboarding-step__top {
		flex-direction: column;
		align-items: flex-start;
	}

	.smart-manager-row,
	.smart-manager-row--head,
	.smart-admin-table__row,
	.smart-admin-form__grid {
		grid-template-columns: 1fr;
	}

	.smart-cabinet-hero__actions {
		flex-basis: 100%;
		justify-content: flex-start;
	}
}

html {
	scroll-padding-top: 120px;
}

#modules,
#flow,
#roles,
#pricing,
#contacts {
	scroll-margin-top: 120px;
}

.smart-container {
	width: min(1720px, calc(100% - 32px));
}

.smart-cabinet-page .smart-container,
.smart-auth-page .smart-container {
	width: min(1880px, calc(100% - 24px));
}

.smart-dashboard {
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 28px;
}

.smart-dashboard__sidebar {
	top: 116px;
}

.smart-dashboard__content {
	display: grid;
	gap: 28px;
}

.smart-cabinet-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
}

.smart-cabinet-hero > :first-child {
	flex: initial;
	max-width: 100%;
}

.smart-cabinet-hero > :first-child p {
	max-width: 1000px;
}

.smart-cabinet-hero__actions {
	flex: initial;
	justify-content: flex-start;
}

.smart-dashboard__content .smart-section-title {
	max-width: min(15ch, 100%);
	font-size: clamp(2.45rem, 3.5vw, 4.5rem);
	line-height: 0.98;
}

.smart-dashboard__content .smart-section-heading .smart-section-title {
	max-width: min(18ch, 100%);
	font-size: clamp(1.85rem, 2.35vw, 2.8rem);
	line-height: 1.04;
}

.smart-dashboard__content .smart-cabinet-hero .smart-section-title {
	max-width: min(13ch, 100%);
}

.smart-admin-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.smart-admin-grid--wide {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.smart-panel,
.smart-card,
.smart-admin-card,
.smart-dashboard__metric,
.smart-role-card,
.smart-proof,
.smart-pricing-card,
.smart-step,
.smart-score {
	min-width: 0;
}

.smart-admin-card,
.smart-dashboard__metric,
.smart-card,
.smart-role-card,
.smart-proof,
.smart-pricing-card,
.smart-step,
.smart-score,
.smart-mini-card,
.smart-kpi {
	border-radius: 30px;
}

.smart-admin-form input,
.smart-admin-form select,
.smart-admin-form textarea,
.smart-login-form input[type="text"],
.smart-login-form input[type="password"] {
	min-width: 0;
}

.smart-admin-table {
	overflow: hidden;
}

.smart-admin-table__row,
.smart-manager-row {
	align-items: start;
}

.smart-nav {
	row-gap: 10px;
}

.smart-nav a,
.smart-nav .smart-button {
	flex-shrink: 0;
}

@media (min-width: 1400px) {
	.smart-hero__grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
	}

	.smart-module-grid,
	.smart-role-grid,
	.smart-proof-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.smart-pricing-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1280px) {
	.smart-container,
	.smart-cabinet-page .smart-container,
	.smart-auth-page .smart-container {
		width: min(100%, calc(100% - 32px));
	}

	.smart-dashboard {
		grid-template-columns: 268px minmax(0, 1fr);
		gap: 28px;
	}

	.smart-dashboard__content .smart-section-title {
		max-width: min(13ch, 100%);
		font-size: clamp(2.2rem, 3.4vw, 4rem);
	}
}

@media (min-width: 1700px) {
	.smart-dashboard__content .smart-cabinet-hero .smart-section-title {
		max-width: min(14ch, 100%);
	}

	.smart-admin-card,
	.smart-panel,
	.smart-dashboard__metric {
		padding-left: 32px;
		padding-right: 32px;
	}
}

.smart-section {
	padding-inline: 0;
}

.smart-dashboard__sidebar {
	align-self: start;
	max-height: calc(100vh - 132px);
	overflow: hidden;
}

.smart-dashboard__sidebar-inner {
	min-height: calc(100vh - 176px);
}

.smart-dashboard__meta {
	margin-top: auto;
}

.smart-dashboard__content > section,
.smart-dashboard__content > .smart-admin-grid,
.smart-dashboard__content > .smart-cabinet-grid,
.smart-dashboard__content > .smart-band {
	width: 100%;
}

.smart-panel {
	box-shadow: 0 22px 50px rgba(15, 36, 21, 0.07);
}

.smart-dashboard__content .smart-cabinet-hero {
	padding: 34px 36px;
}

.smart-dashboard__content .smart-cabinet-hero .smart-eyebrow {
	margin-bottom: 12px;
}

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

.smart-dashboard__metric {
	display: grid;
	align-content: start;
	min-height: 152px;
}

.smart-admin-grid > .smart-panel,
.smart-cabinet-grid > .smart-card,
.smart-role-grid > *,
.smart-proof-grid > *,
.smart-pricing-grid > * {
	min-height: 100%;
}

.smart-admin-grid--wide {
	grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
	align-items: stretch;
}

.smart-admin-card {
	display: grid;
	align-content: start;
	gap: 18px;
}

.smart-section-heading {
	align-items: flex-start;
	gap: 16px;
}

.smart-section-heading p {
	max-width: 52ch;
}

.smart-admin-form {
	align-content: start;
}

.smart-admin-form__grid > label,
.smart-admin-form__grid > .smart-admin-toggle {
	min-width: 0;
}

.smart-admin-form textarea {
	line-height: 1.55;
}

.smart-admin-checkboxes {
	max-height: 260px;
	overflow: auto;
	padding: 12px;
	border-radius: 18px;
	border: 1px solid rgba(3, 135, 78, 0.08);
	background: rgba(247, 251, 248, 0.66);
}

.smart-admin-checkboxes label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 8px;
	border-bottom: 1px solid rgba(3, 135, 78, 0.06);
}

.smart-admin-checkboxes label:last-child {
	border-bottom: 0;
}

.smart-admin-table {
	display: grid;
	gap: 12px;
	overflow: hidden;
}

.smart-admin-table__row,
.smart-manager-row {
	column-gap: 14px;
	align-items: start;
}

.smart-admin-table__row > span,
.smart-manager-row > span {
	min-width: 0;
}

.smart-admin-table__row strong,
.smart-admin-table__row small {
	word-break: normal;
	overflow-wrap: anywhere;
}

.smart-inline-actions,
.smart-admin-inline-form__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.smart-achievement-layout,
.smart-review-layout,
.smart-onboarding-layout {
	align-items: start;
}

.smart-achievement-side,
.smart-review-side,
.smart-onboarding-side,
.smart-course-side,
.smart-kb-sidebar {
	position: sticky;
	top: 116px;
}

.smart-role-card,
.smart-proof,
.smart-pricing-card,
.smart-step,
.smart-card {
	display: grid;
	align-content: start;
}

.smart-footer__inner {
	align-items: center;
}

@media (max-width: 1180px) {
	.smart-dashboard__metrics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.smart-admin-grid--wide {
		grid-template-columns: 1fr;
	}

	.smart-dashboard__content .smart-section-title {
		max-width: none;
	}
}

.smart-profile-hero {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.smart-profile-hero__avatar {
	width: 132px;
	height: 132px;
	border-radius: 32px;
	background: rgba(62, 102, 151, 0.08);
	border: 1px solid rgba(15, 15, 15, 0.08);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.smart-profile-hero__avatar::before {
	content: "Фото";
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.96rem;
	color: var(--brand-blue);
}

.smart-profile-hero__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.smart-profile-hero__avatar:has(img)::before {
	display: none;
}

.smart-profile-hero__content {
	min-width: 0;
}

.smart-profile-meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 18px;
	padding: 18px 20px;
	background: rgba(15, 15, 15, 0.03);
	border: 1px solid rgba(15, 15, 15, 0.08);
	border-radius: 24px;
}

.smart-profile-meta div {
	font-size: 0.97rem;
	color: var(--text-soft);
}

.smart-profile-meta strong {
	color: var(--brand-black);
	font-family: var(--font-display);
	font-weight: 700;
}

.smart-kpi-chart {
	display: grid;
	gap: 18px;
}

.smart-kpi-chart__row {
	display: grid;
	gap: 10px;
}

.smart-kpi-chart__label {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}

.smart-kpi-chart__label strong {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
}

.smart-kpi-chart__label span {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 0.96rem;
	color: var(--brand-black);
}

.smart-kpi-chart__bar {
	height: 14px;
	border-radius: 999px;
	background: rgba(15, 15, 15, 0.06);
	overflow: hidden;
}

.smart-kpi-chart__bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--brand-green);
}

.smart-kpi-chart__bar.is-danger span {
	background: var(--brand-red);
}

.smart-kpi-chart__bar.is-warning span {
	background: var(--brand-orange);
}

.smart-insight-list,
.smart-people-stack {
	display: grid;
	gap: 14px;
}

.smart-insight-item,
.smart-person-card {
	padding: 18px 20px;
	border: 1px solid rgba(15, 15, 15, 0.08);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.96);
}

.smart-insight-item strong,
.smart-person-card strong {
	display: block;
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--brand-black);
}

.smart-insight-item span,
.smart-insight-item small,
.smart-person-card span,
.smart-person-card small {
	display: block;
	margin-top: 6px;
	color: var(--text-soft);
}

.smart-person-card {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

.smart-person-card img,
.smart-person-cell img {
	width: 64px;
	height: 64px;
	border-radius: 18px;
	object-fit: cover;
	background: rgba(62, 102, 151, 0.08);
	border: 1px solid rgba(15, 15, 15, 0.08);
}

.smart-person-card--risk {
	border-color: rgba(234, 35, 45, 0.16);
	background: rgba(234, 35, 45, 0.035);
}

.smart-person-cell {
	display: flex;
	align-items: center;
	gap: 14px;
}

.smart-person-cell div {
	min-width: 0;
}

.smart-person-cell strong,
.smart-person-cell small {
	display: block;
}

.smart-person-cell small {
	color: var(--text-soft);
	overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
	.smart-profile-hero {
		grid-template-columns: 1fr;
	}

	.smart-profile-meta {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 1080px) {
	.smart-dashboard__sidebar {
		max-height: none;
	}

	.smart-dashboard__sidebar-inner {
		min-height: 0;
	}

	.smart-achievement-side,
	.smart-review-side,
	.smart-onboarding-side,
	.smart-course-side,
	.smart-kb-sidebar {
		position: static;
	}
}

@media (max-width: 780px) {
	.smart-dashboard__content .smart-section-title,
	.smart-dashboard__content .smart-section-heading .smart-section-title,
	.smart-dashboard__content .smart-cabinet-hero .smart-section-title {
		max-width: none;
		font-size: clamp(2rem, 10vw, 3.2rem);
	}

	.smart-admin-table {
		overflow-x: auto;
	}

	.smart-hero__actions .smart-button {
		width: 100%;
	}

	.smart-nav .smart-button,
	.smart-nav a {
		width: auto;
	}
}

.smart-admin-form select[multiple] {
	min-height: 168px;
	padding: 12px;
}

.smart-admin-card .smart-admin-table__row small {
	display: block;
	margin-top: 6px;
	color: var(--muted);
}

.smart-admin-card .smart-inline-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.smart-dashboard__content .smart-admin-grid--wide {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.smart-dashboard__content .smart-admin-grid--wide .smart-admin-card {
	min-height: 100%;
}

.smart-admin-card textarea,
.smart-admin-card select,
.smart-admin-card input[type="text"],
.smart-admin-card input[type="url"],
.smart-admin-card input[type="date"],
.smart-admin-card input[type="email"],
.smart-admin-card input[type="password"],
.smart-admin-card input[type="number"] {
	width: 100%;
}

.smart-field-error {
	border-color: #dc5a4b !important;
	box-shadow: 0 0 0 3px rgba(220, 90, 75, 0.12) !important;
	background: #fff7f5 !important;
}

.smart-field-error:focus {
	border-color: #dc5a4b !important;
	box-shadow: 0 0 0 4px rgba(220, 90, 75, 0.18) !important;
}

@media (max-width: 980px) {
	.smart-dashboard__content .smart-admin-grid--wide {
		grid-template-columns: 1fr;
	}

	.smart-admin-form select[multiple] {
		min-height: 132px;
	}
}

/*
 * Brandbook override: Академія Зіна
 * White background, Raleway, rounded forms, no gradients.
 */

:root {
	--bg: #ffffff;
	--surface: #ffffff;
	--surface-strong: #0f0f0f;
	--surface-dark: #0f0f0f;
	--card: #ffffff;
	--card-strong: #ffffff;
	--line: rgba(15, 15, 15, 0.08);
	--line-strong: rgba(15, 15, 15, 0.14);
	--text: #0f0f0f;
	--text-soft: rgba(15, 15, 15, 0.68);
	--text-on-dark: #ffffff;
	--accent: #03874e;
	--accent-strong: #036b3d;
	--accent-soft: rgba(3, 135, 78, 0.1);
	--brand-blue: #3e6697;
	--brand-green: #03874e;
	--brand-red: #ea232d;
	--brand-orange: #ef8421;
	--brand-peach: #fccebe;
	--brand-black: #0f0f0f;
	--shadow: 0 22px 48px rgba(15, 15, 15, 0.06);
	--radius-xl: 32px;
	--radius-lg: 28px;
	--radius-md: 22px;
	--radius-sm: 16px;
	--container: 1440px;
	--font-display: "Raleway", "Segoe UI", sans-serif;
	--font-body: "Raleway", "Segoe UI", sans-serif;
}

html {
	scroll-padding-top: 110px;
}

body {
	background: #ffffff;
	color: var(--text);
	font-family: var(--font-body);
	font-weight: 400;
}

.smart-site {
	background:
		linear-gradient(180deg, rgba(62, 102, 151, 0.08) 0, rgba(62, 102, 151, 0.02) 88px, transparent 88px),
		radial-gradient(circle at left top, rgba(3, 135, 78, 0.05), transparent 28%),
		radial-gradient(circle at right top, rgba(252, 206, 190, 0.18), transparent 26%),
		#ffffff;
}

.smart-container {
	width: min(var(--container), calc(100% - 48px));
}

.smart-header {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(15, 15, 15, 0.08);
}

.smart-header__inner {
	min-height: 96px;
}

.smart-brand {
	gap: 16px;
	font-size: 1rem;
	letter-spacing: 0;
	text-transform: none;
}

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

.smart-brand__text strong {
	font-family: var(--font-display);
	font-size: 1.18rem;
	font-weight: 800;
	line-height: 1;
	color: var(--brand-black);
}

.smart-brand__text small {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-soft);
	line-height: 1;
}

.smart-zina-mark {
	position: relative;
	width: 52px;
	height: 52px;
	display: inline-block;
	flex: 0 0 52px;
}

.smart-zina-mark > span {
	position: absolute;
	display: block;
}

.smart-zina-mark__bottle {
	left: 2px;
	bottom: 0;
	width: 17px;
	height: 40px;
	background: var(--brand-blue);
	border-radius: 7px 7px 4px 4px;
}

.smart-zina-mark__bottle::before {
	content: "";
	position: absolute;
	top: -5px;
	left: 2px;
	width: 13px;
	height: 6px;
	border-radius: 4px;
	background: var(--brand-blue);
}

.smart-zina-mark__leaf {
	left: 21px;
	top: 5px;
	width: 15px;
	height: 18px;
	background: var(--brand-green);
	border-radius: 60% 40% 60% 40%;
}

.smart-zina-mark__peach {
	right: 5px;
	top: 7px;
	width: 18px;
	height: 20px;
	background: var(--brand-peach);
	border-radius: 58% 42% 54% 46%;
	transform: rotate(24deg);
}

.smart-zina-mark__sausage {
	left: 20px;
	top: 24px;
	width: 27px;
	height: 11px;
	background: var(--brand-red);
	border-radius: 999px;
}

.smart-zina-mark__slice {
	right: 2px;
	top: 24px;
	width: 15px;
	height: 15px;
	background: var(--brand-red);
	border-radius: 50%;
	box-shadow:
		-4px -3px 0 0 rgba(255, 255, 255, 0.9) inset,
		0 0 0 1px rgba(15, 15, 15, 0.03);
}

.smart-zina-mark__slice::before,
.smart-zina-mark__slice::after {
	content: "";
	position: absolute;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
}

.smart-zina-mark__slice::before {
	left: 4px;
	top: 3px;
	box-shadow: 6px 1px 0 rgba(255, 255, 255, 0.94), 3px 6px 0 rgba(255, 255, 255, 0.94);
}

.smart-zina-mark__bread {
	left: 21px;
	bottom: 0;
	width: 28px;
	height: 17px;
	background: var(--brand-orange);
	border-radius: 10px 10px 4px 4px;
}

.smart-zina-mark__handle {
	left: 20px;
	top: 0;
	width: 15px;
	height: 11px;
	border: 4px solid var(--brand-red);
	border-bottom: 0;
	border-radius: 20px 20px 0 0;
}

.smart-nav {
	gap: 8px;
}

.smart-nav a {
	padding: 11px 16px;
	font-family: var(--font-display);
	font-weight: 700;
	color: rgba(15, 15, 15, 0.62);
}

.smart-nav a:hover,
.smart-nav a:focus {
	background: rgba(15, 15, 15, 0.04);
	color: var(--brand-black);
}

.smart-button {
	padding: 15px 24px;
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 800;
	box-shadow: none;
}

.smart-button--primary {
	background: var(--brand-green);
	color: #fff;
	border-color: var(--brand-green);
}

.smart-button--primary:hover,
.smart-button--primary:focus {
	background: var(--accent-strong);
}

.smart-button--ghost {
	background: #ffffff;
	border-color: rgba(15, 15, 15, 0.14);
	color: var(--brand-black);
}

.smart-panel,
.smart-card,
.smart-role-card,
.smart-pricing-card,
.smart-dashboard__metric,
.smart-admin-card,
.smart-stat,
.smart-mini-card,
.smart-kpi,
.smart-proof {
	background: #ffffff;
	border: 1px solid rgba(15, 15, 15, 0.08);
	box-shadow: var(--shadow);
	backdrop-filter: none;
}

.smart-eyebrow {
	background: #ffffff;
	border: 1px solid rgba(15, 15, 15, 0.1);
	color: var(--text-soft);
	font-family: var(--font-display);
	font-weight: 600;
}

.smart-hero {
	padding: 72px 0 48px;
}

.smart-hero__grid {
	grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
	align-items: stretch;
}

.smart-hero__content,
.smart-cabinet-hero,
.smart-admin-card,
.smart-card,
.smart-role-card,
.smart-pricing-card,
.smart-proof,
.smart-step,
.smart-login-box,
.smart-login-form,
.smart-dashboard__sidebar-inner {
	padding: 36px;
}

.smart-hero h1,
.smart-section-title {
	font-family: var(--font-display);
	font-size: clamp(3rem, 4vw, 5.6rem);
	font-weight: 800;
	letter-spacing: -0.05em;
	line-height: 0.96;
	color: var(--brand-black);
}

.smart-section-title {
	font-size: clamp(2rem, 3vw, 4rem);
}

.smart-hero p,
.smart-section-heading p,
.smart-card p,
.smart-role-card p,
.smart-pricing-card p,
.smart-proof span,
.smart-step p,
.smart-cabinet-hero p,
.smart-dashboard__meta p {
	color: var(--text-soft);
	font-size: 1.04rem;
}

.smart-chip-row {
	margin-top: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.smart-chip {
	display: inline-flex;
	align-items: center;
	padding: 10px 16px;
	border-radius: 999px;
	font-family: var(--font-display);
	font-size: 0.92rem;
	font-weight: 700;
	border: 1px solid rgba(15, 15, 15, 0.08);
	background: rgba(15, 15, 15, 0.03);
}

.smart-chip--blue { background: rgba(62, 102, 151, 0.1); color: var(--brand-blue); }
.smart-chip--green { background: rgba(3, 135, 78, 0.1); color: var(--brand-green); }
.smart-chip--red { background: rgba(234, 35, 45, 0.1); color: var(--brand-red); }
.smart-chip--orange { background: rgba(239, 132, 33, 0.12); color: var(--brand-orange); }
.smart-chip--peach { background: rgba(252, 206, 190, 0.38); color: var(--brand-black); }

.smart-stats,
.smart-dashboard__metrics {
	gap: 18px;
}

.smart-stat strong,
.smart-dashboard__metric strong {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.9rem;
}

.smart-console {
	padding: 0;
	background: #ffffff;
	color: var(--brand-black);
}

.smart-console__window {
	background: #ffffff;
	border: 0;
	padding: 32px;
}

.smart-console__masthead {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
}

.smart-console__masthead strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1.12rem;
	font-weight: 800;
}

.smart-console__masthead span {
	display: block;
	color: var(--text-soft);
	font-size: 0.92rem;
}

.smart-console__grid--brand {
	gap: 16px;
}

.smart-mini-card,
.smart-kpi {
	padding: 20px;
	border-radius: 22px;
}

.smart-mini-card strong,
.smart-kpi strong,
.smart-score strong,
.smart-proof strong {
	font-family: var(--font-display);
	font-weight: 800;
}

.smart-mini-card--accent {
	border-color: rgba(3, 135, 78, 0.18);
	background: rgba(3, 135, 78, 0.05);
}

.smart-card__icon,
.smart-step__number {
	background: rgba(15, 15, 15, 0.04);
	color: var(--brand-black);
	border: 1px solid rgba(15, 15, 15, 0.08);
	font-family: var(--font-display);
	font-weight: 800;
}

.smart-card__icon--blue { background: rgba(62, 102, 151, 0.1); color: var(--brand-blue); }
.smart-card__icon--green { background: rgba(3, 135, 78, 0.1); color: var(--brand-green); }
.smart-card__icon--red { background: rgba(234, 35, 45, 0.1); color: var(--brand-red); }
.smart-card__icon--orange { background: rgba(239, 132, 33, 0.12); color: var(--brand-orange); }
.smart-card__icon--peach { background: rgba(252, 206, 190, 0.45); color: var(--brand-black); }

.smart-band {
	padding: 18px 0 12px;
	background: transparent;
}

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

.smart-score {
	padding: 24px;
	background: rgba(15, 15, 15, 0.02);
	border: 1px solid rgba(15, 15, 15, 0.08);
	border-radius: var(--radius-lg);
}

.smart-footer {
	padding: 34px 0 48px;
	background: #ffffff;
	border-top: 1px solid rgba(15, 15, 15, 0.08);
}

.smart-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	color: var(--text-soft);
}

.smart-footer__brandline {
	display: flex;
	align-items: center;
	gap: 14px;
}

.smart-footer__brandline strong {
	display: block;
	color: var(--brand-black);
	font-family: var(--font-display);
	font-weight: 800;
}

.smart-footer__brandline span {
	display: block;
	font-size: 0.92rem;
}

.smart-dashboard {
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 28px;
}

.smart-dashboard__sidebar {
	position: sticky;
	top: 118px;
	align-self: start;
}

.smart-dashboard__brand {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(15, 15, 15, 0.08);
	margin-bottom: 24px;
}

.smart-dashboard__brand strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 800;
}

.smart-dashboard__brand span:last-child,
.smart-dashboard__meta p {
	color: var(--text-soft);
}

.smart-dashboard__link {
	background: #ffffff;
	border: 1px solid rgba(15, 15, 15, 0.08);
	color: var(--brand-black);
	font-family: var(--font-display);
	font-weight: 700;
}

.smart-dashboard__link.is-active,
.smart-dashboard__link:hover,
.smart-dashboard__link:focus {
	background: rgba(3, 135, 78, 0.08);
	border-color: rgba(3, 135, 78, 0.22);
	color: var(--brand-green);
}

.smart-auth-notice {
	background: rgba(239, 132, 33, 0.08);
	border: 1px solid rgba(239, 132, 33, 0.22);
	color: var(--brand-black);
	border-radius: 20px;
	padding: 16px 20px;
}

.smart-login-form .button,
.login-submit .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 22px;
	border-radius: 999px;
	border: 0;
	background: var(--brand-green);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 800;
}

input,
textarea,
select {
	border-radius: 18px !important;
	border: 1px solid rgba(15, 15, 15, 0.12) !important;
	background: #ffffff !important;
	color: var(--brand-black) !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
	padding: 14px 16px !important;
	box-shadow: none !important;
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: rgba(3, 135, 78, 0.4) !important;
	box-shadow: 0 0 0 4px rgba(3, 135, 78, 0.08) !important;
}

.smart-admin-form label span,
.smart-login-form label,
.smart-cabinet-hero .smart-eyebrow,
.smart-dashboard__metric span,
th {
	font-family: var(--font-display);
}

.smart-admin-card h3,
.smart-card h3,
.smart-role-card h3,
.smart-pricing-card h3,
.smart-proof strong,
.smart-step h3 {
	font-family: var(--font-display);
	font-weight: 800;
	color: var(--brand-black);
}

.smart-table,
table {
	background: #ffffff;
	border-collapse: separate;
	border-spacing: 0;
}

.smart-table th,
.smart-table td,
table th,
table td {
	border-bottom: 1px solid rgba(15, 15, 15, 0.08);
}

.smart-table thead th,
table thead th {
	background: rgba(3, 135, 78, 0.06);
	color: var(--brand-green);
	font-weight: 800;
}

.smart-modal__dialog {
	max-width: 560px;
	background: #ffffff;
}

.smart-modal__close {
	background: rgba(3, 135, 78, 0.08);
	color: var(--brand-green);
	border: 0;
	border-radius: 50%;
}

.smart-inline-actions--wrap {
	flex-wrap: wrap;
}

.smart-admin-builder__row-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.smart-admin-builder__row-head strong {
	font-family: var(--font-display);
	font-weight: 800;
	color: var(--brand-black);
}

.smart-assignee-picker {
	display: grid;
	gap: 1rem;
}

.smart-assignee-picker__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.smart-assignee-chip {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2rem;
	padding: 0.9rem 1rem;
	border: 1px solid rgba(15, 15, 15, 0.08);
	border-radius: 18px;
	background: rgba(3, 135, 78, 0.06);
	color: var(--brand-black);
	cursor: pointer;
	text-align: left;
}

.smart-assignee-chip span {
	font-weight: 800;
}

.smart-assignee-chip small {
	color: rgba(15, 15, 15, 0.58);
}

@media (max-width: 1180px) {
	.smart-dashboard {
		grid-template-columns: 1fr;
	}

	.smart-dashboard__sidebar {
		position: static;
	}

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

@media (max-width: 820px) {
	.smart-container {
		width: min(var(--container), calc(100% - 24px));
	}

	.smart-header__inner {
		min-height: 80px;
		flex-wrap: wrap;
		padding: 14px 0;
	}

	.smart-brand {
		width: 100%;
	}

	.smart-nav {
		width: 100%;
		justify-content: flex-start;
		overflow-x: auto;
		padding-bottom: 4px;
	}

	.smart-hero__grid,
	.smart-band__inner,
	.smart-dashboard__metrics,
	.smart-module-grid,
	.smart-role-grid,
	.smart-pricing-grid,
	.smart-admin-grid,
	.smart-admin-form__grid {
		grid-template-columns: 1fr !important;
	}

	.smart-hero__content,
	.smart-cabinet-hero,
	.smart-admin-card,
	.smart-card,
	.smart-role-card,
	.smart-pricing-card,
	.smart-proof,
	.smart-step,
	.smart-login-box,
	.smart-login-form,
	.smart-dashboard__sidebar-inner {
		padding: 24px;
	}

	.smart-hero h1,
	.smart-section-title {
		font-size: clamp(2.2rem, 9vw, 3.4rem);
	}
}

/* Final proportional layout overrides */
.smart-container {
	width: min(1760px, calc(100% - 48px)) !important;
}

.smart-cabinet-page .smart-container,
.smart-auth-page .smart-container {
	width: min(1880px, calc(100% - 32px)) !important;
}

.smart-dashboard {
	grid-template-columns: 300px minmax(0, 1fr) !important;
	gap: 32px !important;
}

.smart-dashboard__content {
	min-width: 0;
}

.smart-cabinet-hero {
	display: grid !important;
	grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr) !important;
	align-items: start !important;
	gap: 28px !important;
}

.smart-cabinet-hero > :first-child {
	max-width: none !important;
}

.smart-cabinet-hero > :first-child p {
	max-width: 920px !important;
}

.smart-cabinet-hero__actions {
	width: 100%;
	justify-content: flex-start !important;
	align-self: end;
}

.smart-dashboard__content .smart-section-title {
	max-width: min(14ch, 100%) !important;
	font-size: clamp(2.55rem, 3.2vw, 4.4rem) !important;
	line-height: 0.98 !important;
	word-break: keep-all !important;
	overflow-wrap: normal !important;
	hyphens: none !important;
}

.smart-dashboard__content .smart-section-heading .smart-section-title {
	max-width: min(18ch, 100%) !important;
	font-size: clamp(1.85rem, 2.2vw, 2.8rem) !important;
	line-height: 1.05 !important;
}

.smart-dashboard__content .smart-cabinet-hero .smart-section-title {
	max-width: min(12ch, 100%) !important;
}

.smart-dashboard__content .smart-button {
	white-space: nowrap;
}

.smart-dashboard__content .smart-admin-grid--wide {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	align-items: stretch;
}

.smart-dashboard__content .smart-admin-grid--wide .smart-admin-card,
.smart-dashboard__content .smart-admin-grid .smart-admin-card {
	min-height: 100%;
}

.smart-admin-card--outlined,
.smart-dashboard__metric.smart-admin-card--outlined,
.smart-course-card.smart-admin-card--outlined,
.smart-course-module.smart-admin-card--outlined,
.smart-course-step.smart-admin-card--outlined,
.smart-course-test.smart-admin-card--outlined {
	border: 1px solid rgba(15, 15, 15, 0.08);
	box-shadow: 0 14px 34px rgba(15, 15, 15, 0.04);
}

.smart-cabinet-hero--balanced {
	grid-template-columns: minmax(0, 1fr);
	justify-items: stretch;
	align-items: center;
	row-gap: 24px;
	text-align: center;
}

.smart-cabinet-hero--balanced .smart-section-title {
	max-width: min(100%, 34ch);
	margin-inline: auto;
	font-size: clamp(2.2rem, 3vw, 3.8rem);
	line-height: 1;
	white-space: normal;
	text-wrap: balance;
}

.smart-cabinet-hero--balanced p {
	max-width: 72ch;
	margin-inline: auto;
}

.smart-cabinet-hero--balanced .smart-eyebrow,
.smart-cabinet-hero--balanced .smart-chip-row,
.smart-cabinet-hero--balanced .smart-section-heading,
.smart-cabinet-hero--balanced > div,
.smart-cabinet-hero--balanced .smart-profile-hero__content {
	text-align: center;
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
}

.smart-cabinet-hero--balanced .smart-cabinet-hero__actions,
.smart-cabinet-hero--balanced .smart-cta__actions {
	justify-content: center;
	margin-inline: auto;
	width: 100%;
}

.smart-course-summary__main,
.smart-course-summary__side {
	min-width: 0;
}

.smart-course-summary {
	gap: 26px;
}

.smart-course-card__content,
.smart-course-module,
.smart-course-step,
.smart-course-test,
.smart-test-question {
	background: #fff;
}

.smart-course-module,
.smart-course-step,
.smart-course-test,
.smart-test-question,
.smart-admin-table__row,
.smart-profile-meta {
	border: 1px solid rgba(15, 15, 15, 0.08);
}

.smart-course-step.is-active,
.smart-course-test {
	box-shadow: 0 10px 28px rgba(15, 15, 15, 0.04);
}

.smart-course-test__inline-notice {
	padding: 16px 18px;
	border-radius: 18px;
	border: 1px solid rgba(15, 15, 15, 0.08);
	background: rgba(252, 206, 190, 0.12);
}

.smart-course-test__inline-notice.is-success {
	background: rgba(3, 135, 78, 0.08);
	border-color: rgba(3, 135, 78, 0.16);
}

.smart-course-test__inline-notice.is-warning {
	background: rgba(239, 132, 33, 0.1);
	border-color: rgba(239, 132, 33, 0.18);
}

.smart-course-test__history {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 16px 0;
}

.smart-course-test__history span {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(62, 102, 151, 0.08);
	border: 1px solid rgba(62, 102, 151, 0.12);
	font-size: 0.88rem;
}

.smart-test-question {
	padding: 22px 22px 18px;
	border-radius: 22px;
	box-shadow: inset 0 0 0 1px rgba(15, 15, 15, 0.02);
}

.smart-test-option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
}

.smart-empty-state,
.smart-auth-notice,
.smart-notice {
	border: 1px solid rgba(15, 15, 15, 0.08);
}

.smart-course-card h3,
.smart-course-summary h3,
.smart-admin-card h3,
.smart-panel h3 {
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

.smart-admin-form__grid,
.smart-admin-grid,
.smart-dashboard__metrics,
.smart-achievement-layout,
.smart-review-layout,
.smart-onboarding-layout {
	align-items: start;
}

.smart-admin-table,
.smart-admin-table__row,
.smart-admin-table__head {
	border-color: rgba(15, 15, 15, 0.08);
}

.smart-admin-table__row,
.smart-achievement-rank,
.smart-achievement-reward,
.smart-insight-item,
.smart-course-side__item,
.smart-review-skill,
.smart-onboarding-step,
.smart-company-preview {
	box-shadow: 0 10px 24px rgba(15, 15, 15, 0.03);
}

.smart-admin-toolbar,
.smart-filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: end;
}

.smart-admin-filter {
	display: grid;
	gap: 18px;
	width: 100%;
}

.smart-admin-filter .smart-admin-form__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.smart-admin-filter .smart-admin-inline-form__actions {
	justify-content: flex-start;
}

.smart-filter-bar > *,
.smart-admin-toolbar > * {
	min-width: 220px;
	flex: 1 1 240px;
}

.smart-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.smart-table {
	width: 100%;
	min-width: 1040px;
	border-collapse: separate;
	border-spacing: 0 14px;
}

.smart-table thead th {
	padding: 0 18px 12px;
	white-space: nowrap;
	text-align: left;
}

.smart-table tbody tr {
	background: #fff;
	box-shadow: 0 10px 24px rgba(15, 15, 15, 0.03);
}

.smart-table tbody td {
	padding: 18px;
	border-top: 1px solid rgba(15, 15, 15, 0.08);
	border-bottom: 1px solid rgba(15, 15, 15, 0.08);
	vertical-align: top;
}

.smart-table tbody td:first-child {
	border-left: 1px solid rgba(15, 15, 15, 0.08);
	border-top-left-radius: 22px;
	border-bottom-left-radius: 22px;
}

.smart-table tbody td:last-child {
	border-right: 1px solid rgba(15, 15, 15, 0.08);
	border-top-right-radius: 22px;
	border-bottom-right-radius: 22px;
}

.smart-person-cell {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
}

.smart-person-cell img {
	width: 64px;
	height: 64px;
	border-radius: 18px;
	object-fit: cover;
	background: rgba(15, 15, 15, 0.04);
	border: 1px solid rgba(15, 15, 15, 0.08);
}

.smart-admin-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0 12px;
}

.smart-admin-table__head th {
	padding: 0 18px 10px;
	white-space: nowrap;
}

.smart-admin-table__row {
	background: #fff;
	border-radius: 24px;
	overflow: hidden;
}

.smart-admin-table__row td {
	padding: 20px 18px;
	vertical-align: top;
}

@media (max-width: 1180px) {
	.smart-dashboard {
		grid-template-columns: 1fr !important;
	}

	.smart-cabinet-hero {
		grid-template-columns: 1fr !important;
	}

	.smart-cabinet-hero--balanced .smart-section-title {
		max-width: min(100%, 28ch);
		font-size: clamp(1.9rem, 3vw, 3rem);
	}
}

@media (max-width: 980px) {
	.smart-dashboard__content .smart-admin-grid--wide {
		grid-template-columns: 1fr !important;
	}

	.smart-achievement-store__grid {
		grid-template-columns: 1fr;
	}

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

	.smart-admin-form__grid {
		grid-template-columns: 1fr !important;
	}

	.smart-admin-filter .smart-admin-form__grid {
		grid-template-columns: 1fr !important;
	}

	.smart-cabinet-hero--balanced .smart-section-title {
		max-width: min(100%, 24ch);
		font-size: clamp(1.7rem, 3.4vw, 2.4rem);
	}
}

@media (max-width: 760px) {
	.smart-section {
		padding-inline: 14px;
	}

	.smart-dashboard__metrics {
		grid-template-columns: 1fr;
	}

	.smart-admin-inline-form__actions,
	.smart-cabinet-hero__actions,
	.smart-cta__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.smart-dashboard__content .smart-button,
	.smart-cabinet-hero__actions .smart-button,
	.smart-admin-inline-form__actions .smart-button {
		width: 100%;
		justify-content: center;
	}

	.smart-chip-row {
		gap: 10px;
	}

	.smart-cabinet-hero--balanced .smart-section-title {
		max-width: min(100%, 18ch);
		font-size: clamp(1.35rem, 5.6vw, 1.9rem);
		line-height: 1.1;
		white-space: normal;
	}

	.smart-admin-table,
	.smart-admin-table__head,
	.smart-admin-table__row {
		display: block;
	}

	.smart-admin-table__head {
		display: none;
	}

	.smart-admin-table__row {
		padding: 16px;
		border-radius: 22px;
		margin-bottom: 12px;
	}

	.smart-admin-table__row > * {
		display: block;
		width: 100%;
		padding: 6px 0;
	}

	.smart-table {
		min-width: 0;
		display: block;
	}

	.smart-table thead {
		display: none;
	}

	.smart-table tbody,
	.smart-table tr,
	.smart-table td {
		display: block;
		width: 100%;
	}

	.smart-table tbody tr {
		margin-bottom: 12px;
		border-radius: 24px;
		overflow: hidden;
	}

	.smart-table tbody td {
		border-left: 1px solid rgba(15, 15, 15, 0.08);
		border-right: 1px solid rgba(15, 15, 15, 0.08);
	}

	.smart-table tbody td:first-child {
		border-top-right-radius: 24px;
	}

	.smart-table tbody td:last-child {
		border-bottom-left-radius: 24px;
	}

	.smart-course-test,
	.smart-course-step,
	.smart-course-module,
	.smart-panel,
	.smart-admin-card {
		border-radius: 24px;
	}

	.smart-filter-bar,
	.smart-admin-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.smart-filter-bar > *,
	.smart-admin-toolbar > * {
		min-width: 0;
		width: 100%;
	}
}

.smart-certificate-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	max-width: 980px;
}

.smart-certificate {
	display: grid;
	gap: 14px;
}

.smart-certificate-grid .smart-certificate {
	width: 100%;
}

.smart-certificate__sheet {
	position: relative;
	overflow: hidden;
	padding: 28px;
	border-radius: 36px;
	background: #ffffff;
	border: 1px solid rgba(15, 15, 15, 0.08);
	box-shadow: 0 18px 48px rgba(15, 15, 15, 0.08);
}

.smart-certificate__sheet::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 8% 10%, rgba(62, 102, 151, 0.12), transparent 22%),
		radial-gradient(circle at 88% 18%, rgba(252, 206, 190, 0.34), transparent 22%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.98));
	pointer-events: none;
}

.smart-certificate__header,
.smart-certificate__body,
.smart-certificate__footer {
	position: relative;
	z-index: 1;
}

.smart-certificate__header,
.smart-certificate__footer {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.smart-certificate__brand {
	display: inline-flex;
	align-items: center;
	gap: 16px;
}

.smart-certificate__brand-copy strong,
.smart-certificate__brand-copy span,
.smart-certificate__code span,
.smart-certificate__code strong,
.smart-certificate__lead,
.smart-certificate__meta span,
.smart-certificate__meta strong {
	display: block;
}

.smart-certificate__brand-copy strong,
.smart-certificate__code strong,
.smart-certificate__person,
.smart-certificate__course,
.smart-certificate__seal strong {
	color: #0f0f0f;
}

.smart-certificate__brand-copy strong {
	font-size: 1.08rem;
	font-weight: 800;
}

.smart-certificate__brand-copy span,
.smart-certificate__code span,
.smart-certificate__lead,
.smart-certificate__meta span {
	font-size: 0.92rem;
	color: rgba(15, 15, 15, 0.62);
}

.smart-certificate__code {
	padding: 14px 16px;
	min-width: 170px;
	border-radius: 20px;
	background: rgba(252, 206, 190, 0.58);
	border: 1px solid rgba(239, 132, 33, 0.18);
}

.smart-certificate__code strong {
	margin-top: 6px;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	word-break: break-word;
}

.smart-certificate__body {
	padding: 32px 0 28px;
}

.smart-certificate__eyebrow {
	display: inline-flex;
	align-items: center;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(3, 135, 78, 0.09);
	color: #03874e;
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.smart-certificate__title {
	margin: 18px 0 12px;
	font-size: clamp(2.25rem, 4vw, 4rem);
	line-height: 0.96;
	letter-spacing: -0.04em;
}

.smart-certificate__lead {
	max-width: 54ch;
	margin: 0 0 22px;
}

.smart-certificate__person {
	font-size: clamp(1.8rem, 3vw, 2.9rem);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.smart-certificate__course {
	margin-top: 10px;
	font-size: 1.08rem;
	font-weight: 600;
	color: #3e6697;
}

.smart-certificate__accent {
	margin-top: 26px;
	padding: 18px 20px;
	border-radius: 26px;
	background: rgba(239, 132, 33, 0.12);
	border: 1px solid rgba(239, 132, 33, 0.18);
	font-weight: 600;
	color: #0f0f0f;
}

.smart-certificate__meta strong {
	margin-top: 4px;
	font-size: 1.02rem;
	font-weight: 700;
}

.smart-certificate__seal {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	border-radius: 999px;
	background: #0f0f0f;
	color: #ffffff;
}

.smart-certificate__seal-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ea232d;
	box-shadow: 16px 0 0 #03874e, 32px 0 0 #ef8421;
	margin-right: 24px;
}

.smart-certificate__actions {
	display: flex;
	justify-content: flex-end;
}

.smart-certificate--email {
	max-width: 100%;
}

.smart-certificate--compact .smart-certificate__sheet {
	padding: 24px;
	border-radius: 30px;
}

.smart-certificate--compact .smart-certificate__title {
	font-size: clamp(1.8rem, 2vw, 2.9rem);
}

.smart-certificate--compact .smart-certificate__person {
	font-size: clamp(1.4rem, 2vw, 2.2rem);
}

.smart-certificate-legacy-table {
	display: none;
}

@media (max-width: 900px) {
	.smart-certificate__header,
	.smart-certificate__footer {
		flex-direction: column;
	}

	.smart-certificate__code {
		min-width: 0;
		width: 100%;
	}
}

/* Final hero normalization: wide, centered, no narrow stacked columns */
.smart-dashboard__content .smart-cabinet-hero--balanced {
	padding-inline: clamp(28px, 3vw, 48px);
}

.smart-dashboard__content .smart-cabinet-hero--balanced > :first-child,
.smart-dashboard__content .smart-cabinet-hero--balanced .smart-profile-hero__content,
.smart-dashboard__content .smart-cabinet-hero--balanced .smart-section-heading,
.smart-dashboard__content .smart-cabinet-hero--balanced > div {
	max-width: min(100%, 1320px) !important;
	width: 100%;
	margin-inline: auto;
}

.smart-dashboard__content .smart-cabinet-hero--balanced .smart-section-title,
.smart-dashboard__content .smart-section-title,
.smart-dashboard__content .smart-section-heading .smart-section-title {
	max-width: none !important;
	width: 100%;
	margin-inline: auto;
	text-wrap: pretty;
	word-break: normal;
	overflow-wrap: normal;
}

.smart-dashboard__content .smart-cabinet-hero--balanced .smart-section-title {
	font-size: clamp(2.35rem, 3.9vw, 4.85rem);
	line-height: 0.96;
	letter-spacing: -0.04em;
}

.smart-dashboard__content .smart-cabinet-hero--balanced p {
	max-width: min(100%, 980px);
	margin-inline: auto;
}

@media (max-width: 1180px) {
	.smart-dashboard__content .smart-cabinet-hero--balanced .smart-section-title {
		font-size: clamp(2.15rem, 4vw, 4rem);
	}
}

@media (max-width: 860px) {
	.smart-dashboard__content .smart-cabinet-hero--balanced .smart-section-title {
		font-size: clamp(1.95rem, 5vw, 3.15rem);
		line-height: 1;
	}

	.smart-dashboard__content .smart-cabinet-hero--balanced p {
		max-width: min(100%, 720px);
	}
}

@media (max-width: 640px) {
	.smart-dashboard__content .smart-cabinet-hero--balanced {
		padding-inline: 22px;
	}

	.smart-dashboard__content .smart-cabinet-hero--balanced .smart-section-title {
		font-size: clamp(1.8rem, 7vw, 2.55rem);
		line-height: 1.02;
	}
}
