:root {
	--sidebar-bg: #1a2332;
	--sidebar-hover: #ffffff0a;
	--sidebar-active: #1abb9c14;
	--sidebar-text: #7b8fa3;
	--sidebar-text-hover: #c5d0dc;
	--sidebar-text-active: #fff;
	--sidebar-border: #ffffff0f;
	--sidebar-w: 252px;
	--primary: #1abb9c;
	--primary-lt: #1abb9c0f;
	--primary-dk: #169f85;
	--body-bg: #f5f7fb;
	--bg-surface: #fff;
	--bg-surface-secondary: #f9fafb;
	--border-color: #e6e7eb;
	--border-color-light: #eff0f3;
	--border-translucent: #04204514;
	--text: #1e2633;
	--text-secondary: #626d7d;
	--text-muted: #7e8896;
	--text-disabled: #c0c7cf;
	--blue: #066fd1;
	--azure: #4299e1;
	--green: #2fb344;
	--lime: #74b816;
	--yellow: #f59f00;
	--orange: #f76707;
	--red: #d63939;
	--pink: #d6336c;
	--purple: #ae3ec9;
	--indigo: #4263eb;
	--cyan: #17a2b8;
	--green-lt: #2fb3440f;
	--red-lt: #d639390f;
	--yellow-lt: #f59f000f;
	--blue-lt: #066fd10f;
	--azure-lt: #4299e10f;
	--purple-lt: #ae3ec90f;
	--cyan-lt: #17a2b80f;
	--radius: 6px;
	--radius-sm: 4px;
	--radius-lg: 8px;
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 24px;
	--space-6: 32px;
	--space-7: 48px;
	--space-8: 64px;
	--shadow: #1e26330a 0 2px 4px 0;
	--shadow-card: 0 0 0 1px var(--border-translucent), #1e26330a 0 2px 4px 0;
	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-mono: "SF Mono", Monaco, Consolas, "Liberation Mono", monospace;
	--font-size: .875rem;
	--line-height: 1.4286;
	--font-weight-normal: 400;
	--font-weight-medium: 500;
	--font-weight-bold: 600
}

[data-theme=dark] {
	--body-bg: #0f1623;
	--bg-surface: #1a2332;
	--bg-surface-secondary: #141d2b;
	--border-color: #ffffff14;
	--border-color-light: #ffffff0d;
	--border-translucent: #ffffff14;
	--text: #e6ebf2;
	--text-secondary: #b3bccb;
	--text-muted: #8a93a3;
	--text-disabled: #5a6473;
	--primary-lt: #1abb9c24;
	--green-lt: #2fb34429;
	--red-lt: #d6393929;
	--yellow-lt: #f59f0029;
	--blue-lt: #066fd12e;
	--azure-lt: #4299e129;
	--purple-lt: #ae3ec929;
	--cyan-lt: #17a2b829;
	--shadow: #0006 0 2px 4px 0;
	--shadow-card: 0 0 0 1px var(--border-translucent), #0000004d 0 2px 4px 0
}

[data-theme=dark] ::-webkit-scrollbar-thumb {
	background: #ffffff1f
}

[data-theme=dark] .topbar {
	background: #141d2bd9
}

[data-theme=dark] .tb-btn .dot {
	border-color: var(--bg-surface)
}

[data-theme=dark] .sidebar-user .avatar .online {
	border-color: var(--sidebar-bg)
}

.theme-toggle .theme-icon-light {
	display: none
}

.theme-toggle .theme-icon-dark,
[data-theme=dark] .theme-toggle .theme-icon-light {
	display: block
}

[data-theme=dark] .theme-toggle .theme-icon-dark {
	display: none
}

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

*[hidden]{
	display: none !important;
}

body {
	font-family: var(--font);
	font-size: var(--font-size);
	font-weight: var(--font-weight-normal);
	line-height: var(--line-height);
	color: var(--text);
	background: var(--body-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale
}

::-webkit-scrollbar {
	width: 6px
}

::-webkit-scrollbar-track {
	background: 0 0
}

::-webkit-scrollbar-thumb {
	background: #0000001a;
	border-radius: 3px
}

a {
	color: var(--primary);
	text-decoration: none
}

a:hover {
	text-decoration: underline
}

:where(svg):not([width]):not([height]) {
	width: 1em;
	height: 1em
}

@view-transition {
	navigation: auto
}

::view-transition-old(root) {
	animation-duration: .18s;
	animation-timing-function: cubic-bezier(.2, 0, 0, 1)
}

::view-transition-new(root) {
	animation-duration: .18s;
	animation-timing-function: cubic-bezier(.2, 0, 0, 1)
}

@media (prefers-reduced-motion:reduce) {
	::view-transition-old(root) {
		animation-duration: 0s
	}

	::view-transition-new(root) {
		animation-duration: 0s
	}
}

.skip-link {
	z-index: 200;
	background: var(--primary);
	color: #fff;
	border-radius: var(--radius);
	font-weight: var(--font-weight-medium);
	padding: 8px 14px;
	text-decoration: none;
	transition: transform .15s;
	position: fixed;
	top: 8px;
	left: 8px;
	transform: translateY(-200%)
}

.skip-link:focus,
.skip-link:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
	transform: translateY(0)
}

:focus {
	outline: none
}

:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
	border-radius: var(--radius-sm)
}

.nav-link:focus-visible {
	outline-color: var(--primary);
	outline-offset: -2px
}




.badge-red {
	color: #f87171;
	background: #d6393926
}

.badge-teal {
	background: var(--primary-lt);
	color: var(--primary)
}

.badge-blue {
	color: #60a5fa;
	background: #4299e11f
}


.nav-sublink .badge {
	border-radius: 3px;
	margin-left: auto;
	padding: 1px 6px;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.6
}
.sidebar-user {
	border-radius: var(--radius-sm);
	cursor: pointer;
	align-items: center;
	gap: 10px;
	padding: 8px;
	transition: background .12s;
	display: flex
}

.sidebar-user:hover {
	background: var(--sidebar-hover)
}

.sidebar-user .avatar {
	background: linear-gradient(135deg, var(--primary), var(--primary-dk));
	color: #fff;
	border-radius: 50%;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	width: 32px;
	height: 32px;
	font-size: 12px;
	font-weight: 600;
	display: flex;
	position: relative
}

.sidebar-user .avatar .online {
	background: var(--green);
	border: 2px solid var(--sidebar-bg);
	border-radius: 50%;
	width: 8px;
	height: 8px;
	position: absolute;
	bottom: -1px;
	right: -1px
}

.sidebar-user-info {
	flex: 1;
	min-width: 0
}

.sidebar-user-info .name {
	color: #fff;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.2;
	overflow: hidden
}

.sidebar-user-info .role {
	color: var(--sidebar-text);
	font-size: 11px;
	line-height: 1.2
}

.sidebar-user .more-btn {
	width: 24px;
	height: 24px;
	color: var(--sidebar-text);
	cursor: pointer;
	border-radius: var(--radius-sm);
	opacity: 0;
	background: 0 0;
	border: none;
	justify-content: center;
	align-items: center;
	transition: opacity .12s;
	display: flex
}

.sidebar-user:hover .more-btn {
	opacity: 1
}

.topbar {
	top: 0;
	left: var(--sidebar-w);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border-color);
	z-index: 90;
	background: #ffffffd9;
	justify-content: space-between;
	align-items: center;
	height: 56px;
	padding: 0 24px;
	transition: left .22s cubic-bezier(.2, 0, 0, 1);
	display: flex;
	position: fixed;
	right: 0
}

.topbar-left {
	align-items: center;
	gap: var(--space-3);
	display: flex
}

.sidebar-toggle {
	border-radius: var(--radius-sm);
	cursor: pointer;
	width: 34px;
	height: 34px;
	color: var(--text-secondary);
	background: 0 0;
	border: none;
	justify-content: center;
	align-items: center;
	transition: background .12s, color .12s;
	display: inline-flex
}

.sidebar-toggle:hover {
	background: var(--body-bg);
	color: var(--text)
}

.sidebar-toggle svg {
	width: 18px;
	height: 18px
}



.breadcrumb {
	align-items: center;
	gap: var(--space-1);
	color: var(--text-muted);
	font-size: 13px;
	display: flex
}

.breadcrumb .current {
	color: var(--text);
	font-weight: var(--font-weight-medium)
}

.breadcrumb .sep {
	color: var(--text-disabled)
}

.topbar-right {
	align-items: center;
	gap: 2px;
	display: flex
}

.tb-btn {
	border-radius: var(--radius-sm);
	cursor: pointer;
	width: 32px;
	height: 32px;
	color: var(--text-secondary);
	background: 0 0;
	border: none;
	justify-content: center;
	align-items: center;
	transition: background .12s, color .12s;
	display: flex;
	position: relative
}

.tb-btn:hover {
	background: var(--body-bg);
	color: var(--text)
}

.tb-btn svg {
	width: 18px;
	height: 18px
}

.tb-btn .dot {
	background: var(--red);
	border: 1.5px solid #fff;
	border-radius: 50%;
	width: 6px;
	height: 6px;
	position: absolute;
	top: 6px;
	right: 6px
}

.tb-avatar {
	background: linear-gradient(135deg, var(--primary), var(--primary-dk));
	width: 28px;
	height: 28px;
	font: inherit;
	color: #fff;
	cursor: pointer;
	border: none;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	margin-left: 6px;
	padding: 0;
	font-size: 11px;
	font-weight: 600;
	transition: transform .12s;
	display: flex
}

.tb-avatar:hover {
	transform: scale(1.06)
}

.main {
	margin-left: var(--sidebar-w);
	min-height: calc(100vh - 56px);
	min-height: 100vh;
	padding-top: 56px;
	transition: margin-left .22s cubic-bezier(.2, 0, 0, 1);

	/* чтобы растянуть под карту страницу */
	display: grid;
}

.page-wrapper {
	display: block;
	padding: 20px 24px 40px;
	/* это решаеть увеличение страницы по горизонтали и появление скрола */
	overflow: hidden;
}

.page-header {
	margin-bottom: 20px
}

.page-pretitle {
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--text-muted);
	margin-bottom: 2px;
	font-size: 11px;
	font-weight: 600
}

.page-title {
	color: var(--text);
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3
}

.page-header-row {
	justify-content: space-between;
	align-items: center;
	gap: var(--space-3);
	flex-wrap: wrap;
	display: flex
}

.page-actions {
	/* flex-wrap: wrap; */
	gap: 6px;
	display: flex;
	align-items: center;
}

.row {
	gap: var(--space-4);
	margin-bottom: 16px;
	display: grid
}

.row:last-child {
	margin-bottom: 0
}

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

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

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

.col-8-4 {
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr)
}

.col-4-8 {
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr)
}

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

.footer {
	color: var(--text-muted);
	border-top: 1px solid var(--border-color-light);
	justify-content: space-between;
	padding: 16px 24px;
	font-size: 12px;
	display: flex
}

.footer a {
	color: var(--primary)
}

@media (max-width:1100px) {

	.col-8-4,
	.col-4-8 {
		grid-template-columns: minmax(0, 1fr)
	}
}

@media (max-width:1200px) {
	.col-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr))
	}
}

@media (max-width:920px) {
	.col-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr))
	}
}

@media (max-width:768px) {
	.sidebar {
		will-change: transform;
		transition: transform .22s !important;
		transform: translate(-100%)
	}

	.sidebar.open {
		transform: translate(0)
	}

	.main {
		margin-left: 0
	}

	.topbar {
		padding: 0 12px;
		left: 0
	}

	.topbar .breadcrumb,
	.topbar .tb-notifications,
	.topbar .tb-messages {
		display: none
	}

	.topbar .tb-avatar {
		width: 32px;
		height: 32px
	}

	.col-4,
	.col-3,
	.col-2 {
		grid-template-columns: minmax(0, 1fr)
	}

	.page-wrapper {
		padding: 12px
	}

	body.sidebar-open {
		overflow: hidden
	}

	body.sidebar-rail .sidebar {
		width: var(--sidebar-w)
	}
}

@media (min-width:769px) {
	.sidebar-backdrop {
		display: none !important
	}

	body.sidebar-rail {
		--sidebar-w: 64px
	}

	body.sidebar-rail .sidebar {
		overflow: visible
	}

	body.sidebar-rail .sidebar-brand {
		justify-content: center;
		padding: 0
	}

	body.sidebar-rail .brand-name {
		display: none
	}

	body.sidebar-rail .nav-group {
		padding: 0 8px
	}

	body.sidebar-rail .nav-label {
		display: none
	}

	body.sidebar-rail .nav-link {
		justify-content: center;
		gap: 0;
		padding: 8px;
		position: relative
	}

	body.sidebar-rail .nav-link .nav-text,
	body.sidebar-rail .nav-link .badge,
	body.sidebar-rail .nav-chev,
	body.sidebar-rail .nav-tree .nav-sub {
		display: none
	}

	body.sidebar-rail .sidebar-user {
		justify-content: center;
		padding: 8px
	}

	body.sidebar-rail .sidebar-user-info,
	body.sidebar-rail .sidebar-user .more-btn {
		display: none
	}

	body.sidebar-rail .nav-link[data-rail-label]:after {
		content: attr(data-rail-label);
		background: var(--text);
		color: var(--bg-surface);
		font-size: 11.5px;
		font-weight: var(--font-weight-medium);
		border-radius: var(--radius-sm);
		white-space: nowrap;
		pointer-events: none;
		opacity: 0;
		z-index: 110;
		padding: 5px 9px;
		transition: opacity .12s, transform .12s;
		position: absolute;
		top: 50%;
		left: calc(100% + 12px);
		transform: translateY(-50%)translate(-4px);
		box-shadow: 0 2px 8px #0f172a2e
	}

	body.sidebar-rail .nav-link[data-rail-label]:hover:after,
	body.sidebar-rail .nav-link[data-rail-label]:focus-visible:after {
		opacity: 1;
		transform: translateY(-50%)translate(0)
	}

	body.sidebar-rail .sidebar-toggle svg {
		transform: rotate(180deg)
	}

	.sidebar-toggle svg {
		transition: transform .2s
	}
}

.btn {
	border-radius: var(--radius-sm);
	height: 32px;
	font: inherit;
	font-size: 12.5px;
	font-weight: var(--font-weight-medium);
	cursor: pointer;
	white-space: nowrap;
	border: 1px solid #0000;
	align-items: center;
	gap: 5px;
	padding: 0 12px;
	line-height: 1;
	transition: background .12s, border-color .12s, color .12s, box-shadow .12s;
	display: inline-flex
}

.btn svg {
	width: 14px;
	height: 14px
}

.btn-primary {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary-dk)
}

.btn-primary:hover {
	background: var(--primary-dk)
}

.btn-outline {
	background: var(--bg-surface);
	color: var(--text-secondary);
	border-color: var(--border-color);
	box-shadow: var(--shadow)
}

.btn-outline:hover {
	background: var(--bg-surface-secondary);
	color: var(--text)
}

.btn.disabled {
    opacity: .45;
    cursor: not-allowed;
}

.card {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	transition: box-shadow .15s
}

.card.is-refreshing {
	pointer-events: none;
	position: relative
}

.card.is-refreshing:before {
	content: "";
	border-radius: inherit;
	pointer-events: none;
	z-index: 5;
	background: linear-gradient(90deg, #0000 0%, #1abb9c1a 50%, #0000 100%) 0 0/200% 100%;
	animation: .7s ease-out card-refresh-sweep;
	animation-iteration-count: infinite;
    animation-timing-function: linear;
	position: absolute;
	inset: 0;
}

@keyframes card-refresh-sweep {
	0% {
		background-position: 200% 0
	}

	to {
		background-position: -200% 0
	}
}

@media (prefers-reduced-motion:reduce) {
	.card.is-refreshing:before {
		opacity: .3;
		animation: none
	}
}

.card-header {
	justify-content: space-between;
	align-items: center;
	gap: var(--space-4);
	border-bottom: 1px solid var(--border-color-light);
	min-height: 44px;
	padding: 12px 16px;
	display: flex
}

.card-title {
	font-size: 13px;
	font-weight: var(--font-weight-bold);
	color: var(--text)
}

.card-subtitle {
	color: var(--text-muted);
	font-size: 11.5px;
	font-weight: var(--font-weight-normal);
	margin-top: 1px
}

.card-options {
	align-items: center;
	gap: 2px;
	display: flex
}

.card-opt-btn {
	border-radius: var(--radius-sm);
	cursor: pointer;
	width: 26px;
	height: 26px;
	color: var(--text-muted);
	background: 0 0;
	border: none;
	justify-content: center;
	align-items: center;
	transition: background .1s, color .1s;
	display: flex
}

.card-opt-btn:hover {
	background: var(--body-bg);
	color: var(--text-secondary)
}

.card-opt-btn svg {
	width: 14px;
	height: 14px
}

.card-body {
	padding: 16px
}

.card-body.p-0 {
	padding: 0
}

.card-footer {
	border-top: 1px solid var(--border-color-light);
	padding: 10px 16px
}

.table-responsive {
	overflow-x: auto
}

table.table {
	border-collapse: collapse;
	width: 100%;
	font-size: 13px
}

table.table th {
	text-align: left;
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: .3px;
	color: var(--text-muted);
	background: var(--bg-surface-secondary);
	border-bottom: 1px solid var(--border-color);
	padding: 8px 16px
}

table.table td {
	border-bottom: 1px solid var(--border-color-light);
	color: var(--text-secondary);
	vertical-align: middle;
	padding: 8px 16px;
}

table.table tr:last-child td {
	border-bottom: none
}

table.table tbody tr {
	transition: background 80ms
}

table.table tbody tr:hover {
	background: var(--bg-surface-secondary)
}

.cell-strong {
	color: var(--text);
	font-weight: var(--font-weight-medium)
}

.cell-mono {
	font-family: var(--font-mono);
	color: var(--text);
	font-size: 12px;
	font-weight: var(--font-weight-medium)
}

.cell-customer {
	align-items: center;
	gap: var(--space-2);
	display: flex
}

.cell-avatar {
	color: #fff;
	border-radius: 50%;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	width: 24px;
	height: 24px;
	font-size: 9px;
	font-weight: 600;
	display: flex
}

.status, status {
	align-items: center;
	gap: var(--space-1);
	font-size: 11.5px;
	font-weight: var(--font-weight-medium);
	display: inline-flex
}

.status:before, status:before {
	content: "";
	border-radius: 50%;
	flex-shrink: 0;
	width: 6px;
	height: 6px
}

.status-green, status.green {
	color: var(--green)
}

.status-green:before, status.green:before {
	background: var(--green)
}

.status-yellow {
	color: #b45309
}

.status-yellow:before {
	background: var(--yellow)
}

.status-blue {
	color: var(--blue)
}

.status-blue:before {
	background: var(--blue)
}

.status-red, status.red {
	color: var(--red)
}

.status-red:before, status.red:before {
	background: var(--red)
}

.status-gray, status.gray {
	color: var(--text-secondary)
}

.status-gray:before, status.gray:before {
	background: var(--text-secondary)
}

.progress-thin {
	background: var(--bg-surface-secondary);
	border-radius: 3px;
	height: 5px;
	overflow: hidden
}

.progress-thin .bar {
	border-radius: 3px;
	height: 100%;
	transition: width .2s
}

.live-pulse {
	background: var(--green);
	border-radius: 50%;
	width: 6px;
	height: 6px;
	animation: 2s infinite pulse-dot;
	display: inline-block
}

@keyframes pulse-dot {
	0% {
		box-shadow: 0 0 #2fb34480
	}

	70% {
		box-shadow: 0 0 0 6px #2fb34400
	}

	to {
		box-shadow: 0 0 #2fb34400
	}
}

@media (prefers-reduced-motion:reduce) {
	.live-pulse {
		animation: none
	}
}

.toggle-row {
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	display: flex
}

.toggle-row + .toggle-row {
	border-top: 1px solid var(--border-color-light);
}

.toggle-row .label {
	color: var(--text);
	font-size: 13px
}

.toggle-row .desc {
	color: var(--text-muted);
	margin-top: 1px;
	font-size: 11.5px
}



@media (prefers-reduced-motion:reduce) {
	.toast {
		transition: opacity 80ms;
		transform: none
	}
}

@keyframes menu-in {
	0% {
		opacity: 0;
		transform: translateY(-4px)
	}

	to {
		opacity: 1;
		transform: translateY(0)
	}
}

.menu-item {
	appearance: none;
	text-align: left;
	font: inherit;
	color: var(--text);
	border-radius: var(--radius-sm);
	cursor: pointer;
	background: 0 0;
	border: none;
	padding: 7px 10px;
	font-size: 13px;
	transition: background .1s
}

.menu-item:hover,
.menu-item:focus-visible {
	background: var(--bg-surface-secondary)
}

.menu-separator {
	background: var(--border-color-light);
	height: 1px;
	margin: 4px 2px
}

.menu-panel {
	min-width: 320px;
	max-width: 380px;
	padding: 0
}

.menu-panel .panel-content {
	flex-direction: column;
	max-height: min(72vh, 520px);
	display: flex
}

.menu-panel .panel-header {
	align-items: center;
	gap: var(--space-2);
	border-bottom: 1px solid var(--border-color-light);
	flex-shrink: 0;
	padding: 12px 14px;
	display: flex
}

.menu-panel .panel-title {
	font-size: 13px;
	font-weight: var(--font-weight-bold);
	color: var(--text)
}

.menu-panel .panel-badge {
	font-size: 10px;
	font-weight: var(--font-weight-bold);
	background: var(--primary-lt);
	color: var(--primary);
	border-radius: 10px;
	padding: 1px 6px
}

.menu-panel .panel-action {
	color: var(--primary);
	font-size: 12px;
	font-weight: var(--font-weight-medium);
	cursor: pointer;
	background: 0 0;
	border: none;
	margin-left: auto;
	padding: 0
}

.menu-panel .panel-action:hover {
	text-decoration: underline
}

.menu-panel .panel-list {
	flex-direction: column;
	flex: auto;
	display: flex;
	overflow-y: auto
}

.menu-panel .panel-row {
	border: none;
	border-bottom: 1px solid var(--border-color-light);
	cursor: pointer;
	text-align: left;
	font: inherit;
	background: 0 0;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 14px;
	transition: background .1s;
	display: flex;
	position: relative
}

.menu-panel .panel-row:last-child {
	border-bottom: none
}

.menu-panel .panel-row:hover {
	background: var(--bg-surface-secondary)
}

.menu-panel .panel-row.unread:before {
	content: "";
	background: var(--primary);
	border-radius: 50%;
	width: 5px;
	height: 5px;
	position: absolute;
	top: 18px;
	left: 5px
}

.menu-panel .panel-icon {
	border-radius: 50%;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	width: 28px;
	height: 28px;
	display: inline-flex
}

.menu-panel .panel-icon-info {
	background: var(--blue-lt);
	color: var(--blue)
}

.menu-panel .panel-icon-task {
	background: var(--primary-lt);
	color: var(--primary)
}

.menu-panel .panel-icon-alert {
	background: var(--red-lt);
	color: var(--red)
}

.menu-panel .panel-avatar {
	color: #fff;
	width: 28px;
	height: 28px;
	font-size: 10.5px;
	font-weight: var(--font-weight-bold);
	border-radius: 50%;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	display: inline-flex
}

.menu-panel .panel-body {
	flex-direction: column;
	flex: auto;
	gap: 1px;
	min-width: 0;
	display: flex
}

.menu-panel .panel-from {
	font-size: 12.5px;
	font-weight: var(--font-weight-medium);
	color: var(--text)
}

.menu-panel .panel-row.unread .panel-from {
	font-weight: var(--font-weight-bold)
}

.menu-panel .panel-text {
	color: var(--text-muted);
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12px;
	overflow: hidden
}

.menu-panel .panel-time {
	color: var(--text-muted);
	flex-shrink: 0;
	margin-top: 2px;
	font-size: 11px
}

.menu-panel .panel-footer {
	text-align: center;
	border-top: 1px solid var(--border-color-light);
	flex-shrink: 0;
	padding: 10px 14px
}

.menu-panel .panel-link {
	font-size: 12px;
	font-weight: var(--font-weight-medium);
	color: var(--primary)
}

body.modal-open {
	overflow: hidden
}

.modal-backdrop {
	z-index: 900;
	-webkit-backdrop-filter: blur(3px);
	opacity: 0;
	background: #0f172a73;
	justify-content: center;
	align-items: center;
	padding: 24px;
	transition: opacity .18s;
	display: flex;
	position: fixed;
	inset: 0
}

.modal-backdrop.show {
	opacity: 1
}

.modal-dialog {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	box-shadow: 0 24px 48px #0f172a2e, 0 0 0 1px var(--border-translucent);
	opacity: 0;
	flex-direction: column;
	width: 100%;
	max-width: 480px;
	max-height: calc(100vh - 48px);
	transition: transform .22s cubic-bezier(.2, 0, 0, 1), opacity .18s;
	display: flex;
	transform: translateY(8px)scale(.98)
}

.modal-backdrop.show .modal-dialog {
	opacity: 1;
	transform: translateY(0)scale(1)
}

.modal-sm {
	max-width: 360px
}

.modal-lg {
	max-width: 720px
}

@media (max-width:480px) {
	.modal-backdrop {
		padding: var(--space-3)
	}

	.modal-dialog,
	.modal-sm,
	.modal-lg {
		max-width: calc(100vw - var(--space-5))
	}

	.modal-header,
	.modal-body {
		padding: var(--space-3) var(--space-4)
	}

	.modal-footer {
		padding: var(--space-3) var(--space-4);
		flex-wrap: wrap
	}
}

.modal-header {
	border-bottom: 1px solid var(--border-color-light);
	flex-shrink: 0;
	justify-content: space-between;
	align-items: center;
	padding: 14px 18px;
	display: flex
}

.modal-title {
	font-size: 15px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	letter-spacing: -.1px;
	margin: 0
}

.modal-close {
	border-radius: var(--radius-sm);
	cursor: pointer;
	width: 28px;
	height: 28px;
	color: var(--text-muted);
	background: 0 0;
	border: none;
	justify-content: center;
	align-items: center;
	transition: background .1s, color .1s;
	display: flex
}

.modal-close:hover {
	background: var(--bg-surface-secondary);
	color: var(--text)
}

.modal-body {
	flex: auto;
	padding: 16px 18px;
	overflow-y: auto;
	white-space: break-spaces;
}

.modal-footer {
	justify-content: flex-end;
	gap: var(--space-2);
	border-top: 1px solid var(--border-color-light);
	flex-shrink: 0;
	padding: 12px 18px;
	display: flex
}

@media (prefers-reduced-motion:reduce) {

	.modal-backdrop,
	.modal-dialog {
		transition: opacity 80ms;
		transform: none
	}
}

.modal-form-row {
	margin-bottom: 14px
}

.modal-form-row:last-child {
	margin-bottom: 0
}

.modal-form-row label {
	font-size: 12px;
	font-weight: var(--font-weight-medium);
	color: var(--text-secondary);
	margin-bottom: 5px;
	display: block
}

.modal-form-row input[type=text],
.modal-form-row input[type=date],
.modal-form-row textarea,
.modal-form-row select {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	width: 100%;
	height: 34px;
	font: inherit;
	color: var(--text);
	outline: none;
	padding: 0 10px;
	font-size: 13px;
	transition: border-color .12s, box-shadow .12s
}

.modal-form-row textarea {
	resize: vertical;
	height: auto;
	min-height: 80px;
	padding: 8px 10px
}

.modal-form-row input:focus,
.modal-form-row textarea:focus,
.modal-form-row select:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--primary-lt)
}

.color-swatches {
	gap: var(--space-2);
	align-items: center;
	display: flex
}

.color-swatches input[type=radio] {
	opacity: 0;
	pointer-events: none;
	position: absolute
}

.color-swatches label {
	cursor: pointer;
	border: 2px solid #0000;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	margin-bottom: 0;
	transition: transform .12s, border-color .12s;
	display: inline-block;
	position: relative
}

.color-swatches label:hover {
	transform: scale(1.08)
}

.color-swatches input[type=radio]:checked+label:after {
	content: "";
	border: 2px solid var(--text);
	border-radius: 50%;
	position: absolute;
	inset: -4px
}

.color-swatches input[type=radio]:focus-visible+label {
	outline: 2px solid var(--primary);
	outline-offset: 2px
}

.modal-events-list {
	gap: var(--space-1);
	flex-direction: column;
	margin-bottom: 14px;
	display: flex
}

.modal-events-list:empty {
	display: none
}

.modal-event-row {
	border-radius: var(--radius-sm);
	background: var(--bg-surface-secondary);
	color: var(--text);
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	font-size: 13px;
	display: flex
}

.modal-event-row .swatch {
	border-radius: 50%;
	flex-shrink: 0;
	width: 8px;
	height: 8px
}

.modal-event-row .title {
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1;
	min-width: 0;
	overflow: hidden
}

.modal-event-row .row-actions {
	opacity: .6;
	gap: 2px;
	transition: opacity .12s;
	display: flex
}

.modal-event-row:hover .row-actions {
	opacity: 1
}

.modal-event-row .row-btn {
	border-radius: var(--radius-sm);
	cursor: pointer;
	width: 26px;
	height: 26px;
	color: var(--text-muted);
	background: 0 0;
	border: none;
	justify-content: center;
	align-items: center;
	display: flex
}

.modal-event-row .row-btn:hover {
	background: var(--bg-surface);
	color: var(--text)
}

.modal-events-empty {
	text-align: center;
	color: var(--text-muted);
	border: 1px dashed var(--border-color);
	border-radius: var(--radius);
	margin-bottom: 14px;
	padding: 18px;
	font-size: 13px
}

.btn-lg {
	height: 38px;
	padding: 0 16px;
	font-size: 13.5px
}

.btn-icon {
	justify-content: center;
	width: 32px;
	padding: 0
}

.btn-icon.btn-sm {
	width: 28px
}

.btn-icon.btn-lg {
	width: 38px
}

.btn-success {
	background: var(--green);
	color: #fff;
	border-color: #1a8a32
}

.btn-success:hover {
	background: #1a8a32
}

.btn-warning {
	background: var(--yellow);
	color: #fff;
	border-color: #c97f00
}

.btn-warning:hover {
	background: #c97f00
}

.btn-danger {
	background: var(--red);
	color: #fff;
	border-color: #a82b2b
}

.btn-danger:hover {
	background: #a82b2b
}

.btn-ghost {
	color: var(--text-secondary);
	box-shadow: none;
	background: 0 0;
	border-color: #0000
}

.btn-ghost:hover {
	background: var(--bg-surface-secondary);
	color: var(--text)
}


.btn[aria-busy=true] {
	pointer-events: none;
	opacity: .85
}

.btn-spinner {
	border: 1.5px solid;
	border-top-color: #0000;
	border-radius: 50%;
	width: 12px;
	height: 12px;
	animation: .7s linear infinite btn-spin;
	display: inline-block
}

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

@media (prefers-reduced-motion:reduce) {
	.btn-spinner {
		animation-duration: 1.6s
	}
}

.btn-group {
	display: inline-flex
}

.btn-group .btn {
	border-radius: 0;
	margin-right: -1px
}

.btn-group .btn:hover,
.btn-group .btn.active {
	z-index: 1
}

.btn-group .btn:first-child {
	border-top-left-radius: var(--radius-sm);
	border-bottom-left-radius: var(--radius-sm)
}

.btn-group .btn:last-child {
	border-top-right-radius: var(--radius-sm);
	border-bottom-right-radius: var(--radius-sm);
	margin-right: 0
}

.btn-group .btn.active {
	background: var(--primary-lt);
	color: var(--primary);
	border-color: var(--primary)
}

.avatar {
	font-weight: var(--font-weight-bold);
	color: #fff;
	background: linear-gradient(135deg, var(--primary), var(--primary-dk));
	text-transform: uppercase;
	border-radius: 50%;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	width: 32px;
	height: 32px;
	font-size: 11px;
	line-height: 1;
	display: inline-flex;
	position: relative;
	overflow: hidden
}

.avatar.avatar-image {
	background: var(--bg-surface-secondary);
	overflow: hidden
}

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

.avatar-xs {
	width: 20px;
	height: 20px;
	font-size: 8.5px
}

.avatar-sm {
	width: 26px;
	height: 26px;
	font-size: 10px
}

.avatar-md {
	width: 32px;
	height: 32px;
	font-size: 11px
}

.avatar-lg {
	width: 44px;
	height: 44px;
	font-size: 14px
}

.avatar-xl {
	width: 64px;
	height: 64px;
	font-size: 20px
}

.avatar-xxl {
	width: 96px;
	height: 96px;
	font-size: 30px
}

.avatar-status {
	background: var(--green);
	border: 2px solid var(--bg-surface);
	border-radius: 50%;
	width: 28%;
	min-width: 6px;
	height: 28%;
	min-height: 6px;
	position: absolute;
	bottom: 0;
	right: 0
}

.avatar-status.offline {
	background: var(--text-disabled)
}

.avatar-status.busy {
	background: var(--red)
}

.avatar-status.away {
	background: var(--yellow)
}

.avatar-stack {
	display: inline-flex
}

.avatar-stack .avatar {
	border: 2px solid var(--bg-surface);
	margin-left: -8px
}

.avatar-stack .avatar:first-child {
	margin-left: 0
}

.avatar-stack .avatar.more {
	background: var(--bg-surface-secondary);
	color: var(--text-secondary)
}

.spinner {
	border: 2.5px solid var(--border-color);
	border-top-color: var(--primary);
	border-radius: 50%;
	width: 22px;
	height: 22px;
	animation: .7s linear infinite btn-spin;
	display: inline-block
}

.spinner-sm {
	border-width: 1.5px;
	width: 14px;
	height: 14px
}

.spinner-lg {
	border-width: 3px;
	width: 36px;
	height: 36px
}

.spinner-azure {
	border-top-color: var(--azure)
}

.spinner-yellow {
	border-top-color: var(--yellow)
}

.spinner-red {
	border-top-color: var(--red)
}

.spinner-dots {
	gap: var(--space-1);
	align-items: center;
	display: inline-flex
}

.spinner-dots span {
	background: var(--primary);
	border-radius: 50%;
	width: 7px;
	height: 7px;
	animation: 1.2s ease-in-out infinite dot-pulse
}

.spinner-dots span:nth-child(2) {
	animation-delay: .2s
}

.spinner-dots span:nth-child(3) {
	animation-delay: .4s
}

@keyframes dot-pulse {

	0%,
	80%,
	to {
		opacity: .3;
		transform: scale(.8)
	}

	40% {
		opacity: 1;
		transform: scale(1)
	}
}

@media (prefers-reduced-motion:reduce) {
	.spinner-dots span {
		animation-duration: 2s
	}
}

.loading-bar {
	background: var(--bg-surface-secondary);
	border-radius: 3px;
	width: 100%;
	height: 3px;
	position: relative;
	overflow: hidden
}

.loading-bar:before {
	content: "";
	background: var(--primary);
	border-radius: 3px;
	width: 40%;
	height: 100%;
	animation: 1.4s ease-in-out infinite loading-bar-slide;
	position: absolute;
	top: 0;
	left: -40%
}

@keyframes loading-bar-slide {
	0% {
		left: -40%
	}

	60% {
		left: 100%
	}

	to {
		left: 100%
	}
}

@media (prefers-reduced-motion:reduce) {
	.loading-bar:before {
		animation-duration: 2.4s
	}
}

.skeleton {
	background: linear-gradient(90deg, var(--bg-surface-secondary) 0%, var(--border-color-light) 50%, var(--bg-surface-secondary) 100%);
	border-radius: var(--radius-sm);
	background-size: 200% 100%;
	animation: 1.4s ease-in-out infinite skeleton-shimmer;
	display: block
}

.skeleton-text {
	height: 10px;
	margin-bottom: 8px
}

.skeleton-text:last-child {
	margin-bottom: 0
}

.skeleton-text-lg {
	height: 14px
}

.skeleton-circle {
	border-radius: 50%
}

.skeleton-rect {
	border-radius: var(--radius)
}

.chart-skeleton {
	width: 100%;
	height: 100%;
	min-height: inherit
}

@keyframes skeleton-shimmer {
	0% {
		background-position: 200% 0
	}

	to {
		background-position: -200% 0
	}
}

@media (prefers-reduced-motion:reduce) {
	.skeleton {
		opacity: .6;
		animation: none
	}
}

[data-tooltip] {
	position: relative
}

[data-tooltip]:after {
	content: attr(data-tooltip);
	background: var(--text);
	color: #fff;
	font-size: 11px;
	font-weight: var(--font-weight-medium);
	border-radius: var(--radius-sm);
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	z-index: 100;
	padding: 5px 9px;
	transition: opacity .12s, transform .12s;
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translate(-50%)translateY(4px)
}

[data-tooltip]:before {
	content: "";
	border: 4px solid #0000;
	border-top-color: var(--text);
	opacity: 0;
	pointer-events: none;
	z-index: 100;
	transition: opacity .12s, transform .12s;
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translate(-50%)translateY(2px)
}

[data-tooltip]:hover:after,
[data-tooltip]:focus-visible:after,
[data-tooltip]:hover:before,
[data-tooltip]:focus-visible:before {
	opacity: 1;
	transform: translate(-50%)translateY(0)
}

[data-tooltip-pos=bottom]:after {
	top: calc(100% + 6px);
	bottom: auto;
	transform: translate(-50%)translateY(-4px)
}

[data-tooltip-pos=bottom]:before {
	border-top-color: #0000;
	border-bottom-color: var(--text);
	top: 100%;
	bottom: auto;
	transform: translate(-50%)translateY(-2px)
}

[data-tooltip-pos=bottom]:hover:after,
[data-tooltip-pos=bottom]:hover:before {
	transform: translate(-50%)translateY(0)
}

@media (prefers-reduced-motion:reduce) {

	[data-tooltip]:after,
	[data-tooltip]:before {
		transition: opacity 80ms
	}
}

.tabs-pill {
	background: var(--bg-surface-secondary);
	border-radius: var(--radius);
	gap: 2px;
	padding: 3px;
	display: inline-flex
}

.tabs-pill .tab {
	font: inherit;
	font-size: 12.5px;
	font-weight: var(--font-weight-medium);
	color: var(--text-secondary);
	border-radius: calc(var(--radius) - 2px);
	cursor: pointer;
	background: 0 0;
	border: none;
	padding: 6px 14px;
	transition: background .1s, color .1s
}

.tabs-pill .tab:hover {
	color: var(--text)
}

.tabs-pill .tab.active {
	background: var(--bg-surface);
	color: var(--text);
	box-shadow: 0 1px 2px #0f172a0f
}

.tabs-underline {
	border-bottom: 1px solid var(--border-color-light);
	gap: var(--space-1);
	display: flex
}

.tabs-underline .tab {
	font: inherit;
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	color: var(--text-muted);
	cursor: pointer;
	background: 0 0;
	border: none;
	border-bottom: 2px solid #0000;
	margin-bottom: -1px;
	padding: 9px 14px 11px;
	transition: color .1s, border-color .1s
}

.tabs-underline .tab:hover {
	color: var(--text)
}

.tabs-underline .tab.active {
	color: var(--primary);
	border-bottom-color: var(--primary)
}

.pagination {
	align-items: center;
	gap: 2px;
	display: inline-flex
}

.pagination .page-btn {
	border: 1px solid var(--border-color);
	background: var(--bg-surface);
	border-radius: var(--radius-sm);
	min-width: 30px;
	height: 30px;
	font: inherit;
	font-size: 12.5px;
	font-weight: var(--font-weight-medium);
	color: var(--text-secondary);
	cursor: pointer;
	justify-content: center;
	align-items: center;
	padding: 0 8px;
	transition: background .1s, color .1s, border-color .1s;
	display: inline-flex
}

.pagination .page-btn:hover {
	background: var(--bg-surface-secondary);
	color: var(--text)
}

.pagination .page-btn.active {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary)
}

.pagination .page-btn:disabled {
	opacity: .45;
	cursor: not-allowed;
}

.pagination .page-btn svg {
	width: 12px;
	height: 12px
}

.pagination .page-ellipsis {
	color: var(--text-disabled);
	padding: 0 4px;
	font-size: 12px
}

.breadcrumbs {
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	display: flex
}

.breadcrumbs a {
	color: var(--text-muted);
	text-decoration: none;
	transition: color .1s
}

.breadcrumbs a:hover {
	color: var(--primary);
	text-decoration: none
}

.breadcrumbs .sep {
	color: var(--text-disabled);
	-webkit-user-select: none;
	user-select: none
}

.breadcrumbs .current {
	color: var(--text);
	font-weight: var(--font-weight-medium)
}

.stepper {
	align-items: flex-start;
	gap: 0;
	width: 100%;
	display: flex
}

.stepper .step {
	flex-direction: column;
	flex-shrink: 0;
	align-items: center;
	gap: 6px;
	min-width: 80px;
	display: flex
}

.stepper .step .num {
	background: var(--bg-surface);
	border: 1.5px solid var(--border-color);
	width: 30px;
	height: 30px;
	font-size: 12px;
	font-weight: var(--font-weight-bold);
	color: var(--text-muted);
	border-radius: 50%;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	transition: background .12s, border-color .12s, color .12s;
	display: flex
}

.stepper .step .label {
	font-size: 11.5px;
	font-weight: var(--font-weight-medium);
	color: var(--text-muted);
	text-align: center
}

.stepper .step.done .num {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff
}

.stepper .step.done .num:after {
	content: "";
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='M3 8l3 3 7-7'/%3E%3C/svg%3E") 50%/14px no-repeat;
	width: 14px;
	height: 14px;
	position: absolute
}

.stepper .step.done .num span {
	display: none
}

.stepper .step.active .num {
	background: var(--bg-surface);
	border-color: var(--primary);
	color: var(--primary);
	box-shadow: 0 0 0 4px var(--primary-lt)
}

.stepper .step.active .label,
.stepper .step.done .label {
	color: var(--text)
}

.stepper .line {
	background: var(--border-color);
	flex: auto;
	min-width: 16px;
	height: 2px;
	margin: 15px 4px 0;
	transition: background .12s
}

.stepper .line.done {
	background: var(--primary)
}

.rating-stars {
	align-items: center;
	gap: 2px;
	display: inline-flex
}

.rating-stars button {
	cursor: pointer;
	width: 24px;
	height: 24px;
	color: var(--text-disabled);
	background: 0 0;
	border: none;
	padding: 0;
	transition: color .1s, transform .1s
}

.rating-stars button.on {
	color: var(--yellow)
}

.rating-stars button:hover {
	transform: scale(1.15)
}

.rating-stars svg {
	width: 22px;
	height: 22px;
	margin: 0 auto;
	display: block
}

.rating-stars-readonly button {
	pointer-events: none
}

.empty-state {
	text-align: center;
	padding: 36px 20px
}

.empty-state-icon {
	background: var(--bg-surface-secondary);
	width: 64px;
	height: 64px;
	color: var(--text-muted);
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	margin: 0 auto 14px;
	display: flex
}

.empty-state-icon svg {
	width: 30px;
	height: 30px
}

.empty-state-title {
	font-size: 15px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	margin-bottom: 4px
}

.empty-state-desc {
	color: var(--text-muted);
	margin-bottom: 16px;
	font-size: 13px;
	line-height: 1.5
}

.list-group {
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	flex-direction: column;
	display: flex;
	overflow: hidden
}

.list-group-item {
	align-items: center;
	gap: var(--space-3);
	background: var(--bg-surface);
	border: none;
	border-bottom: 1px solid var(--border-color-light);
	color: var(--text);
	font-size: 13px;
	font: inherit;
	cursor: pointer;
	text-align: left;
	width: 100%;
	padding: 10px 14px;
	font-size: 13px;
	text-decoration: none;
	transition: background .1s, color .1s;
	display: flex
}

.list-group-item:last-child {
	border-bottom: none
}

.list-group-item:hover {
	background: var(--bg-surface-secondary);
	text-decoration: none
}

.list-group-item.active {
	background: var(--primary-lt);
	color: var(--primary);
	font-weight: var(--font-weight-medium)
}

.list-group-item .meta {
	color: var(--text-muted);
	margin-left: auto;
	font-size: 11.5px
}

code,
.code-inline {
	font-family: var(--font-mono);
	background: var(--bg-surface-secondary);
	color: var(--text);
	border: 1px solid var(--border-color-light);
	border-radius: 3px;
	padding: 2px 6px;
	font-size: 12px
}

pre {
	background: var(--bg-surface-secondary);
	color: var(--text);
	border-radius: var(--radius);
	border: 1px solid var(--border-color);
	font-family: var(--font-mono);
	margin: 0;
	padding: 14px 16px;
	font-size: 12.5px;
	line-height: 1.55;
	overflow-x: auto
}

pre code {
	font-size: inherit;
	background: 0 0;
	border: none;
	padding: 0
}

kbd {
	font-family: var(--font);
	font-size: 11px;
	font-weight: var(--font-weight-medium);
	color: var(--text-secondary);
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-bottom-width: 2px;
	border-radius: 4px;
	padding: 1px 6px;
	line-height: 1.5;
	display: inline-block
}

blockquote {
	border-left: 3px solid var(--primary);
	color: var(--text-secondary);
	margin: 0;
	padding: 4px 16px;
	font-size: 14px;
	font-style: italic;
	line-height: 1.6
}

blockquote footer {
	color: var(--text-muted);
	margin-top: 10px;
	font-size: 12px;
	font-style: normal
}

blockquote footer cite {
	color: var(--text);
	font-style: normal;
	font-weight: var(--font-weight-medium)
}

.divider-label, divider-label {
	align-items: center;
	gap: var(--space-3);
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: .4px;
	margin: 16px 0;
	display: flex
}

.divider-label:before,
.divider-label:after,
divider-label:before,
divider-label:after {
	content: "";
	background: var(--border-color);
	flex: 1;
	height: 1px
}

.divider-plain {
	background: var(--border-color);
	border: none;
	height: 1px;
	margin: 16px 0
}

.divider-dashed {
	border: none;
	border-top: 1px dashed var(--border-color);
	background: 0 0;
	height: 0;
	margin: 16px 0
}

.cmdk-backdrop {
	-webkit-backdrop-filter: blur(2px);
	z-index: 300;
	background: #0f162366;
	justify-content: center;
	align-items: flex-start;
	padding-top: 14vh;
	animation: .12s ease-out cmdk-fade-in;
	display: flex;
	position: fixed;
	inset: 0
}

@keyframes cmdk-fade-in {
	0% {
		opacity: 0
	}

	to {
		opacity: 1
	}
}

.cmdk-dialog {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	width: min(580px, 100vw - 32px);
	max-height: 70vh;
	box-shadow: 0 20px 50px #0000002e, 0 0 0 1px var(--border-translucent);
	flex-direction: column;
	animation: .14s cubic-bezier(.2, 0, 0, 1) cmdk-pop-in;
	display: flex;
	overflow: hidden
}

@keyframes cmdk-pop-in {
	0% {
		opacity: 0;
		transform: translateY(-6px)scale(.98)
	}

	to {
		opacity: 1;
		transform: none
	}
}

.cmdk-input-wrap {
	border-bottom: 1px solid var(--border-color-light);
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	display: flex
}

.cmdk-search-icon {
	color: var(--text-muted);
	flex-shrink: 0
}

.cmdk-input {
	font-family: var(--font);
	color: var(--text);
	background: 0 0;
	border: 0;
	outline: 0;
	flex: 1;
	font-size: 14px
}

.cmdk-input::placeholder {
	color: var(--text-muted)
}

.cmdk-esc {
	font-family: var(--font);
	color: var(--text-muted);
	background: var(--bg-surface-secondary);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	padding: 2px 6px;
	font-size: 10.5px
}

.cmdk-list {
	flex: 1;
	padding: 6px;
	overflow-y: auto
}

.cmdk-section {
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--text-muted);
	padding: 10px 10px 4px;
	font-size: 10px;
	font-weight: 600
}

.cmdk-item {
	border-radius: var(--radius-sm);
	width: 100%;
	font-family: var(--font);
	color: var(--text);
	cursor: pointer;
	text-align: left;
	background: 0 0;
	border: 0;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	font-size: 13px;
	display: flex
}

.cmdk-item:hover,
.cmdk-item.active {
	background: var(--primary-lt);
	color: var(--primary)
}

.cmdk-item-icon {
	background: var(--bg-surface-secondary);
	border-radius: var(--radius-sm);
	width: 24px;
	height: 24px;
	color: var(--text-muted);
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	display: flex
}

.cmdk-item.active .cmdk-item-icon {
	color: var(--primary);
	background: #1abb9c24
}

.cmdk-item-label {
	flex: 1
}

.cmdk-item-kbd {
	color: var(--text-muted);
	opacity: 0;
	font-size: 11px
}

.cmdk-item.active .cmdk-item-kbd {
	opacity: 1
}

.cmdk-empty {
	text-align: center;
	color: var(--text-muted);
	padding: 32px 16px;
	font-size: 13px
}

.cmdk-footer {
	border-top: 1px solid var(--border-color-light);
	color: var(--text-muted);
	justify-content: flex-end;
	gap: 14px;
	padding: 8px 16px;
	font-size: 11px;
	display: flex
}

.cmdk-footer kbd {
	font-family: var(--font);
	background: var(--bg-surface-secondary);
	border: 1px solid var(--border-color);
	border-radius: 3px;
	margin-right: 4px;
	padding: 1px 5px;
	font-size: 10.5px
}

body.cmdk-open {
	overflow: hidden
}

.accordion {
	flex-direction: column;
	gap: 6px;
	display: flex
}

.accordion-item {
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	background: var(--bg-surface);
	transition: border-color .12s;
	overflow: hidden
}

.accordion-item:hover {
	border-color: var(--text-muted)
}

.accordion-item[open] {
	border-color: var(--primary)
}

.accordion-summary {
	align-items: center;
	gap: var(--space-3);
	cursor: pointer;
	font-size: 13.5px;
	font-weight: var(--font-weight-medium);
	color: var(--text);
	-webkit-user-select: none;
	user-select: none;
	padding: 14px 16px;
	list-style: none;
	display: flex
}

.accordion-summary::-webkit-details-marker {
	display: none
}

.accordion-summary .chev {
	width: 14px;
	height: 14px;
	color: var(--text-muted);
	margin-left: auto;
	transition: transform .2s
}

.accordion-item[open] .accordion-summary .chev {
	color: var(--primary);
	transform: rotate(180deg)
}

.accordion-content {
	color: var(--text-secondary);
	padding: 0 16px 16px;
	font-size: 13px;
	line-height: 1.6
}

.drawer-backdrop {
	-webkit-backdrop-filter: blur(2px);
	z-index: 250;
	opacity: 0;
	pointer-events: none;
	background: #0f162366;
	transition: opacity .2s;
	position: fixed;
	inset: 0
}

.drawer-backdrop.open {
	opacity: 1;
	pointer-events: auto
}

.drawer {
	background: var(--bg-surface);
	z-index: 260;
	flex-direction: column;
	width: min(420px, 100vw);
	height: 100vh;
	transition: transform .24s cubic-bezier(.2, 0, 0, 1);
	display: flex;
	position: fixed;
	top: 0;
	right: 0;
	transform: translate(100%);
	box-shadow: -10px 0 30px #0000001f
}

.drawer.open {
	transform: translate(0)
}

.drawer.left {
	left: 0;
	right: auto;
	transform: translate(-100%);
	box-shadow: 10px 0 30px #0000001f
}

.drawer.left.open {
	transform: translate(0)
}

.drawer-header {
	border-bottom: 1px solid var(--border-color-light);
	align-items: center;
	padding: 14px 16px;
	display: flex
}

.drawer-title {
	font-size: 15px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	flex: 1
}

.drawer-close {
	cursor: pointer;
	width: 28px;
	height: 28px;
	color: var(--text-muted);
	background: 0 0;
	border: 0;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	display: flex
}

.drawer-close:hover {
	background: var(--bg-surface-secondary);
	color: var(--text)
}

.drawer-body {
	flex: 1;
	padding: 16px;
	overflow-y: auto
}

.drawer-footer {
	border-top: 1px solid var(--border-color-light);
	gap: var(--space-2);
	justify-content: flex-end;
	padding: 12px 16px;
	display: flex
}

.timeline {
	padding-left: 24px;
	position: relative
}

.timeline:before {
	content: "";
	background: var(--border-color);
	border-radius: 2px;
	width: 2px;
	position: absolute;
	top: 6px;
	bottom: 6px;
	left: 7px
}

.timeline-item {
	padding-bottom: 18px;
	position: relative
}

.timeline-item:last-child {
	padding-bottom: 0
}

.timeline-item:before {
	content: "";
	background: var(--bg-surface);
	border: 2px solid var(--border-color);
	border-radius: 50%;
	width: 12px;
	height: 12px;
	position: absolute;
	top: 4px;
	left: -22px
}

.timeline-item.is-primary:before {
	border-color: var(--primary);
	background: var(--primary)
}

.timeline-item.is-green:before {
	border-color: var(--green);
	background: var(--green)
}

.timeline-item.is-yellow:before {
	border-color: var(--yellow);
	background: var(--yellow)
}

.timeline-item.is-red:before {
	border-color: var(--red);
	background: var(--red)
}

.timeline-item.is-blue:before {
	border-color: var(--blue);
	background: var(--blue)
}

.timeline-item .ti-time {
	color: var(--text-muted);
	margin-bottom: 2px;
	font-size: 11px
}

.timeline-item .ti-title {
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	color: var(--text)
}

.timeline-item .ti-desc {
	color: var(--text-secondary);
	margin-top: 2px;
	font-size: 12.5px;
	line-height: 1.5
}

.banner {
	border-radius: var(--radius);
	background: var(--primary-lt);
	color: var(--text);
	border: 1px solid #1abb9c2e;
	align-items: center;
	gap: 14px;
	padding: 12px 16px;
	font-size: 13px;
	display: flex
}

.banner.banner-warning {
	background: var(--yellow-lt);
	border-color: #f59f0038
}

.banner.banner-danger {
	background: var(--red-lt);
	border-color: #d6393938
}

.banner.banner-info {
	background: var(--blue-lt);
	border-color: #066fd138
}

.banner-icon {
	color: var(--primary);
	flex-shrink: 0
}

.banner.banner-warning .banner-icon {
	color: var(--yellow)
}

.banner.banner-danger .banner-icon {
	color: var(--red)
}

.banner.banner-info .banner-icon {
	color: var(--blue)
}

.banner-body {
	flex: 1
}

.banner-body strong {
	color: var(--text)
}

.banner-actions {
	flex-shrink: 0;
	gap: 6px;
	display: flex
}

.popover-trigger {
	display: inline-flex;
	position: relative
}

.popover-trigger>.popover-content {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	width: 240px;
	color: var(--text);
	opacity: 0;
	pointer-events: none;
	z-index: 50;
	padding: 12px;
	font-size: 12.5px;
	transition: opacity .12s, transform .12s;
	position: absolute;
	top: calc(100% + 8px);
	left: 50%;
	transform: translate(-50%)translateY(-4px);
	box-shadow: 0 6px 20px #0f172a1a
}

.popover-trigger:hover>.popover-content,
.popover-trigger:focus-within>.popover-content {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%)translateY(0)
}

.popover-title {
	font-weight: var(--font-weight-bold);
	color: var(--text);
	margin-bottom: 4px;
	font-size: 12.5px
}

.popover-text {
	color: var(--text-secondary);
	font-size: 12px;
	line-height: 1.5
}

.empty-state {
	text-align: center;
	color: var(--text-muted);
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
	padding: 48px 24px;
	display: flex
}

.empty-state .empty-state-icon {
	background: var(--bg-surface-secondary);
	width: 48px;
	height: 48px;
	color: var(--text-muted);
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	margin-bottom: 8px;
	display: flex
}

.empty-state .empty-state-icon svg {
	width: 22px;
	height: 22px
}

.empty-state .empty-state-title {
	font-size: 14px;
	font-weight: var(--font-weight-medium);
	color: var(--text)
}

.empty-state .empty-state-text {
	max-width: 320px;
	font-size: 12.5px;
	line-height: 1.5
}

.empty-state .empty-state-actions {
	gap: var(--space-2);
	margin-top: 12px;
	display: flex
}

.form-group {
	margin-bottom: 16px;
	display: block
}

.form-label {
	font-size: 12px;
	font-weight: var(--font-weight-medium);
	color: var(--text);
	margin-bottom: 6px;
	display: block
}

.form-label .required {
	color: var(--red);
	margin-left: 2px
}

.form-help {
	color: var(--text-muted);
	margin-top: 4px;
	font-size: 11.5px
}

.form-control {
	width: 100%;
	height: 36px;
	font: inherit;
	color: var(--text);
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	font-size: 13px;
	font-family: var(--font);
	outline: none;
	padding: 0 12px;
	transition: border-color .15s, box-shadow .15s;
	display: block
}

.form-control::placeholder {
	color: var(--text-disabled)
}

.form-control:hover:not(:focus) {
	border-color: var(--text-muted)
}

.form-control:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--primary-lt)
}

.form-control:user-invalid {
	border-color: var(--red)
}

.form-control:disabled {
	background: var(--bg-surface-secondary);
	color: var(--text-muted);
	cursor: not-allowed
}

.form-control.is-invalid {
	border-color: var(--red)
}

.form-control.is-invalid:focus {
	box-shadow: 0 0 0 3px var(--red-lt)
}

.form-error {
	color: var(--red);
	margin-top: 4px;
	font-size: 11.5px
}

textarea.form-control {
	resize: vertical;
	height: auto;
	min-height: 90px;
	padding: 8px 12px;
	line-height: 1.5
}

select.form-control {
	appearance: none;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%239ba5b1' stroke-width='1.5'%3E%3Cpath d='M3 5l3 3 3-3'/%3E%3C/svg%3E");
	background-position: right 10px center;
	background-repeat: no-repeat;
	padding-right: 32px
}

.form-check {
	align-items: center;
	gap: var(--space-2);
	color: var(--text);
	cursor: pointer;
	padding: 4px 0;
	font-size: 13px;
	display: flex
}

.form-check input[type=checkbox],
.form-check input[type=radio] {
	appearance: none;
	border: 1.5px solid var(--border-color);
	border-radius: var(--radius-sm);
	background: var(--bg-surface);
	cursor: pointer;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin: 0;
	transition: background .12s, border-color .12s;
	position: relative
}

.form-check input[type=radio] {
	border-radius: 50%
}

.form-check input:hover {
	border-color: var(--primary)
}

.form-check input:checked {
	background: var(--primary);
	border-color: var(--primary)
}

.form-check input[type=checkbox]:checked:after {
	content: "";
	border-bottom: 1.5px solid #fff;
	border-right: 1.5px solid #fff;
	width: 4px;
	height: 8px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -55%)rotate(45deg)
}

.form-check input[type=radio]:checked:after {
	content: "";
	background: #fff;
	border-radius: 50%;
	width: 6px;
	height: 6px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%)
}

.form-check input:focus-visible {
	box-shadow: 0 0 0 3px var(--primary-lt)
}

.form-row {
	grid-template-columns: repeat(2, 1fr);
	gap: 12px 16px;
	display: grid
}

.form-row.cols-3 {
	grid-template-columns: repeat(3, 1fr)
}

@media (max-width:768px) {

	.form-row,
	.form-row.cols-3 {
		grid-template-columns: 1fr
	}
}

.input-group {
	position: relative
}

.input-group .form-control {
	padding-left: 36px
}

.input-group .input-icon {
	width: 14px;
	height: 14px;
	color: var(--text-muted);
	pointer-events: none;
	position: absolute;
	top: 50%;
	left: 11px;
	transform: translateY(-50%)
}

.form-actions {
	align-items: center;
	gap: var(--space-2);
	border-top: 1px solid var(--border-color-light);
	margin-top: 20px;
	padding-top: 16px;
	display: flex
}

.form-actions.right {
	justify-content: flex-end
}

.input-affix {
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	background: var(--bg-surface);
	transition: border-color .15s, box-shadow .15s;
	display: flex;
	overflow: hidden
}

.input-affix:focus-within {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--primary-lt)
}

.input-affix .form-control {
	border: 0;
	border-radius: 0;
	flex: 1;
	min-width: 0
}

.input-affix .form-control:focus {
	box-shadow: none
}

.input-affix .affix {
	color: var(--text-muted);
	background: var(--bg-surface-secondary);
	white-space: nowrap;
	border-left: 1px solid var(--border-color);
	align-items: center;
	padding: 0 12px;
	font-size: 12.5px;
	display: flex
}

.input-affix .affix.prefix {
	border-left: 0;
	border-right: 1px solid var(--border-color)
}

.segmented {
	background: var(--bg-surface-secondary);
	border-radius: var(--radius);
	gap: 2px;
	padding: 3px;
	display: inline-flex
}

.segmented label {
	font-size: 12px;
	font-weight: var(--font-weight-medium);
	color: var(--text-muted);
	border-radius: var(--radius-sm);
	cursor: pointer;
	padding: 6px 14px;
	transition: background .12s, color .12s;
	position: relative
}

.segmented label:hover {
	color: var(--text)
}

.segmented input {
	/* opacity: 0;
	pointer-events: none;
	position: absolute; */
	
	display: none;
}

.segmented input:checked+span {
	background: var(--bg-surface);
	color: var(--text);
	/* box-shadow: 0 1px 3px #0f172a0f, 0 0 0 1px var(--border-translucent); */
	display: flex;
    align-items: center;
	gap: 6px;
}

.segmented label:has(input:checked) {
	background: var(--bg-surface);
	color: var(--text);
	box-shadow: 0 1px 3px #0f172a0f, 0 0 0 1px var(--border-translucent)
}

.switch {
	cursor: pointer;
	align-items: center;
	gap: 10px;
	display: inline-flex;
	position: relative
}

.switch input {
	opacity: 0;
	pointer-events: none;
	position: absolute
}

.switch .track {
	background: var(--border-color);
	border-radius: 999px;
	flex-shrink: 0;
	width: 36px;
	height: 20px;
	transition: background .15s;
	position: relative
}

.switch .track:before {
	content: "";
	background: #fff;
	border-radius: 50%;
	width: 16px;
	height: 16px;
	transition: transform .15s;
	position: absolute;
	top: 2px;
	left: 2px;
	box-shadow: 0 1px 3px #00000029
}

.switch input:checked+.track {
	background: var(--primary)
}

.switch input:checked+.track:before {
	transform: translate(16px)
}

.switch input:focus-visible+.track {
	box-shadow: 0 0 0 3px var(--primary-lt)
}

.switch .switch-label {
	color: var(--text);
	font-size: 13px
}

.slider-row {
	align-items: center;
	gap: var(--space-3);
	display: flex
}

.slider-row .slider-value {
	color: var(--text);
	font-size: 12.5px;
	font-weight: var(--font-weight-medium);
	text-align: right;
	font-variant-numeric: tabular-nums;
	min-width: 40px
}

input[type=range].slider {
	appearance: none;
	background: var(--border-color);
	border-radius: 2px;
	outline: none;
	flex: 1;
	height: 4px
}

input[type=range].slider::-webkit-slider-thumb {
	appearance: none;
	background: var(--primary);
	border: 2px solid var(--bg-surface);
	width: 16px;
	height: 16px;
	box-shadow: 0 0 0 1px var(--primary), 0 1px 3px #00000026;
	cursor: pointer;
	border-radius: 50%
}

input[type=range].slider::-moz-range-thumb {
	background: var(--primary);
	border: 2px solid var(--bg-surface);
	width: 16px;
	height: 16px;
	box-shadow: 0 0 0 1px var(--primary), 0 1px 3px #00000026;
	cursor: pointer;
	border-radius: 50%
}

input[type=range].slider:focus-visible {
	box-shadow: 0 0 0 3px var(--primary-lt)
}

.color-grid {
	gap: var(--space-2);
	flex-wrap: wrap;
	display: flex
}

.color-swatch {
	cursor: pointer;
	border: 2px solid #0000;
	border-radius: 50%;
	width: 28px;
	height: 28px;
	transition: transform .1s, box-shadow .1s;
	position: relative
}

.color-swatch:hover {
	transform: scale(1.08)
}

.color-swatch.active {
	border-color: var(--bg-surface);
	box-shadow: 0 0 0 2px var(--text)
}

.tag-input {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	cursor: text;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	padding: 6px 8px;
	transition: border-color .15s, box-shadow .15s;
	display: flex
}

.tag-input:focus-within {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--primary-lt)
}

.tag-input .tag-pill {
	align-items: center;
	gap: var(--space-1);
	background: var(--primary-lt);
	color: var(--primary);
	font-size: 12px;
	font-weight: var(--font-weight-medium);
	border-radius: 12px;
	padding: 2px 4px 2px 8px;
	display: inline-flex
}

.tag-input .tag-pill button {
	width: 16px;
	height: 16px;
	color: inherit;
	cursor: pointer;
	opacity: .65;
	background: 0 0;
	border: 0;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	display: flex
}

.tag-input .tag-pill button:hover {
	opacity: 1;
	background: #1abb9c2e
}

.tag-input input {
	min-width: 100px;
	font-family: var(--font);
	color: var(--text);
	background: 0 0;
	border: 0;
	outline: 0;
	flex: 1;
	padding: 4px;
	font-size: 13px
}

.rating {
	gap: var(--space-1);
	display: inline-flex
}

.rating button {
	cursor: pointer;
	color: var(--border-color);
	background: 0 0;
	border: 0;
	padding: 2px;
	transition: color .1s
}

.rating button.on,
.rating:hover button:hover,
.rating:hover button:hover~button {
	color: var(--border-color)
}

.rating button.on {
	color: var(--yellow)
}

.rating:hover button {
	color: var(--border-color)
}

.rating:hover button:hover,
.rating button:hover~button.on {
	color: var(--yellow)
}

.rating:hover button:hover~button {
	color: var(--border-color)
}

.rating button svg {
	fill: currentColor;
	width: 16px;
	height: 16px
}

.search-suggest {
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	background: var(--bg-surface);
	margin-top: 4px;
	overflow: hidden;
	box-shadow: 0 4px 12px #0f172a0f
}

.search-suggest-row {
	color: var(--text);
	cursor: pointer;
	border-bottom: 1px solid var(--border-color-light);
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	font-size: 13px;
	display: flex
}

.search-suggest-row:last-child {
	border-bottom: 0
}

.search-suggest-row:hover {
	background: var(--bg-surface-secondary)
}

.search-suggest-row .meta {
	color: var(--text-muted);
	margin-left: auto;
	font-size: 11px
}

.search-suggest-row mark {
	background: var(--yellow-lt);
	color: var(--text);
	border-radius: 2px;
	padding: 0 1px
}

.password-strength {
	gap: var(--space-1);
	margin-top: 6px;
	display: flex
}

.password-strength .seg {
	background: var(--border-color);
	border-radius: 2px;
	flex: 1;
	height: 4px;
	transition: background .15s
}

.password-strength.s1 .seg:nth-child(-n+1),
.password-strength.s2 .seg:nth-child(-n+2),
.password-strength.s3 .seg:nth-child(-n+3),
.password-strength.s4 .seg {
	background: var(--red)
}

.password-strength.s2 .seg:nth-child(-n+2) {
	background: var(--orange)
}

.password-strength.s3 .seg:nth-child(-n+3) {
	background: var(--yellow)
}

.password-strength.s4 .seg {
	background: var(--green)
}

.password-strength-label {
	color: var(--text-muted);
	margin-top: 4px;
	font-size: 11.5px
}

.password-strength-label strong {
	color: var(--text);
	font-weight: var(--font-weight-medium)
}

.otp-grid {
	gap: var(--space-2);
	display: flex
}

.otp-input {
	text-align: center;
	width: 44px;
	height: 48px;
	font-family: var(--font);
	font-size: 18px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	outline: 0;
	transition: border-color .12s, box-shadow .12s
}

.otp-input:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--primary-lt)
}

.otp-input:not(:placeholder-shown) {
	border-color: var(--primary)
}

.file-input {
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	background: var(--bg-surface);
	align-items: stretch;
	display: flex;
	overflow: hidden
}

.file-input-trigger {
	font-size: 12.5px;
	font-weight: var(--font-weight-medium);
	color: var(--text);
	background: var(--bg-surface-secondary);
	border-right: 1px solid var(--border-color);
	cursor: pointer;
	align-items: center;
	padding: 0 14px;
	display: flex
}

.file-input-name {
	color: var(--text-muted);
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1;
	align-items: center;
	min-width: 0;
	padding: 0 12px;
	font-size: 12.5px;
	display: flex;
	overflow: hidden
}

.file-input input[type=file] {
	display: none
}

.avatar-upload {
	background: linear-gradient(135deg, var(--primary), var(--primary-dk));
	color: #fff;
	cursor: pointer;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	width: 96px;
	height: 96px;
	font-size: 32px;
	font-weight: 600;
	display: flex;
	position: relative;
	overflow: hidden
}

.avatar-upload .overlay {
	color: #fff;
	opacity: 0;
	background: #00000080;
	justify-content: center;
	align-items: center;
	transition: opacity .15s;
	display: flex;
	position: absolute;
	inset: 0
}

.avatar-upload:hover .overlay {
	opacity: 1
}

.avatar-upload .overlay svg {
	width: 22px;
	height: 22px
}

.stepper {
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	background: var(--bg-surface);
	align-items: stretch;
	display: inline-flex;
	overflow: hidden
}

.stepper button {
	background: var(--bg-surface-secondary);
	width: 32px;
	color: var(--text-muted);
	cursor: pointer;
	border: 0;
	font-size: 14px;
	font-weight: 600;
	transition: background .1s, color .1s
}

.stepper button:hover {
	background: var(--primary-lt);
	color: var(--primary)
}

.stepper input {
	text-align: center;
	width: 56px;
	font: inherit;
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	color: var(--text);
	-moz-appearance: textfield;
	background: 0 0;
	border: 0;
	outline: 0
}

.stepper input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0
}

.stepper input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0
}

.date-range {
	position: relative
}

.date-range input {
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237e8896' stroke-width='1.5'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 4v6M16 4v6'/%3E%3C/svg%3E");
	background-position: right 12px center;
	background-repeat: no-repeat;
	padding-right: 36px
}

.dr-popover {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	box-shadow: 0 10px 30px #0f172a1f, 0 0 0 1px var(--border-translucent);
	z-index: 220;
	font-family: var(--font);
	display: flex;
	overflow: hidden
}

.dr-presets {
	border-right: 1px solid var(--border-color-light);
	background: var(--bg-surface-secondary);
	flex-direction: column;
	gap: 2px;
	min-width: 140px;
	padding: 14px 8px 14px 14px;
	display: flex
}

.dr-preset {
	font: inherit;
	color: var(--text-secondary);
	text-align: left;
	border-radius: var(--radius-sm);
	cursor: pointer;
	background: 0 0;
	border: 0;
	padding: 7px 12px;
	font-size: 12.5px
}

.dr-preset:hover {
	background: var(--bg-surface);
	color: var(--text)
}

.dr-cal {
	padding: 14px
}

.dr-nav {
	align-items: center;
	margin-bottom: 8px;
	display: flex
}

.dr-nav button {
	border: 1px solid var(--border-color);
	background: var(--bg-surface);
	border-radius: var(--radius-sm);
	cursor: pointer;
	width: 26px;
	height: 26px;
	color: var(--text-muted);
	justify-content: center;
	align-items: center;
	display: flex
}

.dr-nav button:hover {
	color: var(--primary);
	border-color: var(--primary)
}

.dr-spacer {
	flex: 1
}

.dr-months {
	gap: 18px;
	display: flex
}

.dr-month-head {
	font-size: 13px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	text-align: center;
	margin-bottom: 8px
}

.dr-dow {
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: .4px;
	text-align: center;
	grid-template-columns: repeat(7, 30px);
	gap: 2px;
	margin-bottom: 4px;
	font-size: 10px;
	display: grid
}

.dr-grid {
	grid-template-columns: repeat(7, 30px);
	gap: 2px;
	display: grid
}

.dr-cell {
	width: 30px;
	height: 30px;
	font: inherit;
	color: var(--text);
	cursor: pointer;
	background: 0 0;
	border: 0;
	border-radius: 50%;
	font-size: 12px;
	transition: background .1s, color .1s
}

.dr-cell.empty {
	cursor: default;
	visibility: hidden
}

.dr-cell:hover:not(.empty) {
	background: var(--bg-surface-secondary)
}

.dr-cell.today {
	color: var(--primary);
	font-weight: 600
}

.dr-cell.in-range {
	background: var(--primary-lt);
	color: var(--primary);
	border-radius: 0
}

.dr-cell.preview {
	opacity: .55
}

.dr-cell.selected {
	background: var(--primary);
	color: #fff;
	border-radius: 50%;
	font-weight: 600
}

.dr-cell.range-start {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0
}

.dr-cell.range-end {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0
}

.dr-footer {
	border-top: 1px solid var(--border-color-light);
	justify-content: space-between;
	align-items: center;
	gap: var(--space-2);
	margin-top: 12px;
	padding-top: 12px;
	display: flex
}

.dr-summary {
	color: var(--text-secondary);
	font-variant-numeric: tabular-nums;
	font-size: 12px
}

@media (max-width:600px) {
	.dr-popover {
		flex-direction: column
	}

	.dr-presets {
		border-right: 0;
		border-bottom: 1px solid var(--border-color-light);
		flex-flow: wrap;
		min-width: 0;
		padding: 10px
	}

	.dr-months {
		gap: var(--space-4);
		flex-direction: column
	}
}

.rich-text {
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	background: var(--bg-surface);
	transition: border-color .15s, box-shadow .15s;
	overflow: hidden
}

.rich-text:focus-within {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--primary-lt)
}

.rt-toolbar {
	border-bottom: 1px solid var(--border-color-light);
	background: var(--bg-surface-secondary);
	flex-wrap: wrap;
	align-items: center;
	gap: 2px;
	padding: 6px 8px;
	display: flex
}

.rt-toolbar button {
	border-radius: var(--radius-sm);
	cursor: pointer;
	width: 28px;
	height: 28px;
	color: var(--text-secondary);
	font-family: var(--font);
	background: 0 0;
	border: 0;
	justify-content: center;
	align-items: center;
	font-size: 13px;
	transition: background .1s, color .1s;
	display: flex
}

.rt-toolbar button:hover {
	background: var(--bg-surface);
	color: var(--text)
}

.rt-toolbar button:active {
	background: var(--primary-lt);
	color: var(--primary)
}

.rt-toolbar code {
	font-family: var(--font-mono);
	font-size: 11px
}

.rt-sep {
	background: var(--border-color);
	width: 1px;
	height: 18px;
	margin: 0 4px
}

.rt-editor {
	min-height: 140px;
	color: var(--text);
	outline: none;
	padding: 12px 14px;
	font-size: 14px;
	line-height: 1.6
}

.rt-editor:empty:before {
	content: attr(data-placeholder);
	color: var(--text-disabled);
	pointer-events: none
}

.rt-editor h2 {
	margin: 12px 0 6px;
	font-size: 17px;
	font-weight: 600
}

.rt-editor blockquote {
	border-left: 3px solid var(--primary);
	color: var(--text-secondary);
	margin: 8px 0;
	padding-left: 12px
}

.rt-editor pre {
	background: var(--bg-surface-secondary);
	border-radius: var(--radius-sm);
	font-family: var(--font-mono);
	color: var(--text);
	margin: 8px 0;
	padding: 10px 12px;
	font-size: 12.5px;
	overflow-x: auto
}

.rt-editor ul,
.rt-editor ol {
	margin: 6px 0;
	padding-left: 22px
}

.rt-editor a {
	color: var(--primary);
	text-decoration: underline
}

.multi-select {
	position: relative
}

.ms-input {
	align-items: center;
	gap: var(--space-1);
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	cursor: text;
	flex-wrap: wrap;
	min-height: 36px;
	padding: 4px 8px 4px 4px;
	transition: border-color .15s, box-shadow .15s;
	display: flex
}

.multi-select.open .ms-input,
.ms-input:focus-within {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--primary-lt)
}

.ms-chips {
	gap: var(--space-1);
	flex-wrap: wrap;
	display: flex
}

.ms-chip {
	align-items: center;
	gap: var(--space-1);
	background: var(--primary-lt);
	color: var(--primary);
	font-size: 12px;
	font-weight: var(--font-weight-medium);
	white-space: nowrap;
	border-radius: 12px;
	padding: 2px 4px 2px 8px;
	display: inline-flex
}

.ms-chip button {
	width: 18px;
	height: 18px;
	color: inherit;
	cursor: pointer;
	opacity: .65;
	background: 0 0;
	border: 0;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	font-size: 14px;
	line-height: 1;
	display: flex
}

.ms-chip button:hover {
	opacity: 1;
	background: #1abb9c2e
}

.ms-search {
	min-width: 80px;
	font: inherit;
	color: var(--text);
	background: 0 0;
	border: 0;
	outline: 0;
	flex: 1;
	padding: 4px 6px;
	font-size: 13px
}

.ms-chev {
	color: var(--text-muted);
	flex-shrink: 0;
	margin-left: auto;
	transition: transform .15s
}

.multi-select.open .ms-chev {
	transform: rotate(180deg)
}

.ms-menu {
	z-index: 50;
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	max-height: 220px;
	padding: 4px;
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	overflow-y: auto;
	box-shadow: 0 6px 16px #0f172a1a
}

.ms-option {
	text-align: left;
	border-radius: var(--radius-sm);
	width: 100%;
	font: inherit;
	color: var(--text);
	cursor: pointer;
	background: 0 0;
	border: 0;
	padding: 7px 10px;
	font-size: 13px;
	display: block
}

.ms-option:hover,
.ms-option.active {
	background: var(--primary-lt);
	color: var(--primary)
}

.ms-empty {
	text-align: center;
	color: var(--text-muted);
	padding: 14px;
	font-size: 12px
}

.stat {
	align-items: center;
	gap: 14px;
	padding: 16px;
	display: flex
}

.stat-icon {
	border-radius: var(--radius);
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	display: flex
}

.stat-icon svg {
	width: 20px;
	height: 20px
}

.stat-icon.teal {
	background: var(--primary-lt);
	color: var(--primary)
}

.stat-icon.blue {
	background: var(--blue-lt);
	color: var(--blue)
}

.stat-icon.green {
	background: var(--green-lt);
	color: var(--green)
}

.stat-icon.yellow {
	background: var(--yellow-lt);
	color: var(--yellow)
}

.stat-icon.red {
	background: var(--red-lt);
	color: var(--red)
}

.stat-icon.purple {
	background: var(--purple-lt);
	color: var(--purple)
}

.stat-content {
	flex: 1;
	min-width: 0
}

.stat-label {
	color: var(--text-muted);
	font-size: 11.5px;
	font-weight: var(--font-weight-medium);
	text-transform: uppercase;
	letter-spacing: .3px;
	line-height: 1.3
}

.stat-value-row {
	align-items: baseline;
	gap: var(--space-2);
	display: flex
}

.stat-value {
	letter-spacing: -.5px;
	font-size: 19px;
	line-height: 1.2
}

.stat-change {
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	align-items: center;
	gap: 1px;
	display: inline-flex
}

.stat-change svg {
	width: 12px;
	height: 12px
}

.stat-change.up {
	color: var(--green)
}

.stat-change.down {
	color: var(--red)
}

.stat-subtext {
	color: var(--text-muted);
	margin-top: 2px;
	font-size: 11px
}

.stat-spark {
	flex-shrink: 0;
	align-items: flex-end;
	gap: 2px;
	height: 28px;
	display: flex
}

.stat-spark .bar {
	background: var(--primary);
	opacity: .25;
	border-radius: 2px;
	width: 4px;
	transition: height .3s
}

.stat-spark .bar:nth-child(odd) {
	opacity: .4
}

.stat-spark .bar:last-child {
	opacity: .8
}

.chart-header {
	justify-content: space-between;
	align-items: flex-start;
	padding: 16px 16px 0;
	display: flex
}

.chart-header-left .chart-stat {
	letter-spacing: -.5px;
	margin-bottom: 4px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1
}

.chart-tabs {
	background: var(--body-bg);
	border-radius: var(--radius-sm);
	gap: 0;
	padding: 2px;
	display: flex
}

.chart-tab {
	font-size: 11.5px;
	font-weight: var(--font-weight-medium);
	color: var(--text-muted);
	cursor: pointer;
	background: 0 0;
	border: none;
	border-radius: 3px;
	padding: 4px 10px;
	transition: background .12s, color .12s
}

.chart-tab.active {
	background: var(--bg-surface);
	color: var(--text);
	box-shadow: 0 1px 2px #0000000f
}

.chart-tab:hover:not(.active) {
	color: var(--text-secondary)
}

@media (pointer:coarse) {
	.chart-tab {
		padding: 6px 12px;
		font-size: 12px
	}
}

.chart-area {
	height: 200px;
	padding: 16px;
	position: relative
}

.chart-area svg {
	width: 100%;
	height: 100%;
	display: block
}

.chart-grid-line {
	stroke: var(--border-color-light);
	stroke-width: 1px;
	stroke-dasharray: 4 3
}

.chart-label {
	font-family: var(--font);
	fill: var(--text-muted);
	font-size: 10px
}

.chart-path {
	fill: none;
	stroke-width: 1.5px;
	stroke-linecap: round;
	stroke-linejoin: round
}

.chart-fill {
	opacity: .04
}

.activity-list {
	list-style: none
}

.activity-item {
	border-bottom: 1px solid var(--border-color-light);
	gap: 10px;
	padding: 10px 0;
	display: flex
}

.activity-item:last-child {
	border-bottom: none
}

.activity-avatar {
	color: #fff;
	border-radius: 50%;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	width: 28px;
	height: 28px;
	font-size: 10px;
	font-weight: 600;
	display: flex
}

.activity-body {
	color: var(--text-secondary);
	flex: 1;
	font-size: 12.5px;
	line-height: 1.45
}

.activity-body strong {
	color: var(--text);
	font-weight: var(--font-weight-medium)
}

.activity-time {
	color: var(--text-muted);
	white-space: nowrap;
	margin-top: 1px;
	font-size: 11px
}

.visitor-row {
	border-bottom: 1px solid var(--border-color-light);
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	font-size: 13px;
	display: flex
}

.visitor-row:last-child {
	border-bottom: none
}

.visitor-flag {
	font-size: 16px;
	line-height: 1
}

.visitor-name {
	color: var(--text);
	font-weight: var(--font-weight-normal);
	flex: 1
}

.visitor-pct {
	font-weight: var(--font-weight-bold);
	color: var(--text);
	text-align: right;
	min-width: 32px;
	font-size: 12.5px
}

.visitor-bar {
	background: var(--border-color-light);
	border-radius: 2px;
	width: 80px;
	height: 4px;
	overflow: hidden
}

.visitor-bar .fill {
	background: var(--primary);
	border-radius: 2px;
	height: 100%
}

.todo-row {
	border-bottom: 1px solid var(--border-color-light);
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	display: flex
}

.todo-row:last-child {
	border-bottom: none
}

.todo-cb {
	border: 1.5px solid var(--border-color);
	border-radius: var(--radius-sm);
	cursor: pointer;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	width: 16px;
	height: 16px;
	transition: background .12s, border-color .12s;
	display: flex;
	position: relative
}

.todo-cb svg {
	display: none
}

.todo-cb:after {
	content: "";
	opacity: 0;
	border: 1.5px solid #fff;
	border-width: 0 1.5px 1.5px 0;
	width: 4px;
	height: 8px;
	transition: opacity .1s;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-55%, -65%)rotate(45deg)
}

.todo-cb:hover {
	border-color: var(--primary)
}

.todo-cb.done {
	background: var(--primary);
	border-color: var(--primary)
}

.todo-cb.done:after {
	opacity: 1
}

.todo-text {
	color: var(--text);
	flex: 1;
	font-size: 13px
}

.todo-row.done .todo-text {
	color: var(--text-muted);
	text-decoration: line-through
}

.todo-date {
	color: var(--text-muted);
	font-size: 11px
}

.todo-prio {
	border-radius: 50%;
	flex-shrink: 0;
	width: 6px;
	height: 6px
}

.donut-block {
	align-items: center;
	gap: var(--space-4);
	display: flex
}

.donut-svg {
	flex-shrink: 0;
	width: 110px;
	height: 110px;
	position: relative
}

.donut-svg svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg)
}

.donut-center-label {
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%)
}

.donut-center-label .num {
	font-size: 18px;
	font-weight: 600;
	line-height: 1
}

.donut-center-label .sub {
	color: var(--text-muted);
	font-size: 10px
}

.donut-legend {
	flex: 1
}

.donut-legend-item {
	color: var(--text-secondary);
	align-items: center;
	gap: 6px;
	padding: 3px 0;
	font-size: 12px;
	display: flex
}

.donut-legend-item .dot {
	border-radius: 2px;
	flex-shrink: 0;
	width: 8px;
	height: 8px
}

.donut-legend-item .pct {
	font-weight: var(--font-weight-bold);
	color: var(--text);
	margin-left: auto;
	font-size: 11.5px
}

.version-row {
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	display: flex
}

.version-label {
	color: var(--text-secondary);
	width: 48px;
	font-size: 12.5px;
	font-weight: var(--font-weight-medium)
}

.version-bar {
	background: var(--border-color-light);
	border-radius: 2px;
	flex: 1;
	height: 4px;
	overflow: hidden
}

.version-bar .fill {
	border-radius: 2px;
	height: 100%
}

.version-pct {
	color: var(--text-muted);
	text-align: right;
	width: 30px;
	font-size: 12px;
	font-weight: var(--font-weight-medium)
}

.storage-bar {
	background: var(--border-color-light);
	border-radius: 4px;
	height: 8px;
	margin-bottom: 12px;
	display: flex;
	overflow: hidden
}

.storage-bar>div {
	height: 100%
}

.storage-legend {
	grid-template-columns: 1fr 1fr;
	gap: 6px 16px;
	display: grid
}

.storage-legend-item {
	color: var(--text-secondary);
	align-items: center;
	gap: 6px;
	font-size: 12px;
	display: flex
}

.storage-legend-item .dot {
	border-radius: 50%;
	flex-shrink: 0;
	width: 6px;
	height: 6px
}

.storage-legend-item .val {
	font-weight: var(--font-weight-medium);
	color: var(--text);
	margin-left: auto
}

.profile-ring-box {
	text-align: center;
	padding: 8px 0
}

.profile-ring-box .ring-wrap {
	width: 80px;
	height: 80px;
	margin: 0 auto 8px;
	position: relative
}

.profile-ring-box .ring-wrap svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg)
}

.ring-bg {
	fill: none;
	stroke: var(--border-color-light);
	stroke-width: 5px
}

.ring-fill {
	fill: none;
	stroke: var(--primary);
	stroke-width: 5px;
	stroke-linecap: round;
	stroke-dasharray: 213.6
}

.profile-ring-box .ring-center {
	font-size: 18px;
	font-weight: 600;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%)
}

.profile-ring-box .ring-center span {
	color: var(--text-muted);
	font-size: 10px;
	font-weight: 400
}

.profile-ring-box .note {
	color: var(--text-muted);
	font-size: 12px
}

.profile-ring-box .ring-link {
	color: var(--primary);
	font-size: 12px;
	font-weight: var(--font-weight-medium);
	margin-top: 6px;
	display: inline-block
}

.pagination {
	align-items: center;
	gap: var(--space-1);
	border-top: 1px solid var(--border-color-light);
	padding: 12px 16px;
	list-style: none;
	display: flex
}

.pagination .page-info {
	color: var(--text-muted);
	margin-right: auto;
	font-size: 12px
}

.page-link {
	min-width: 28px;
	height: 28px;
	font-size: 12px;
	font-weight: var(--font-weight-medium);
	color: var(--text-secondary);
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	cursor: pointer;
	justify-content: center;
	align-items: center;
	padding: 0 8px;
	text-decoration: none;
	transition: background .1s, color .1s, border-color .1s;
	display: inline-flex
}

.page-link:hover {
	background: var(--bg-surface-secondary);
	color: var(--text);
	text-decoration: none
}

.page-link.active {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary-dk)
}

.page-link.disabled {
	color: var(--text-disabled);
	cursor: not-allowed
}

.alert {
	border-radius: var(--radius);
	border: 1px solid;
	gap: 10px;
	margin-bottom: 12px;
	padding: 10px 12px;
	font-size: 12.5px;
	line-height: 1.45;
	display: flex
}

.alert .alert-icon {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-top: 1px
}

.alert .alert-body {
	flex: 1
}

.alert strong {
	font-weight: var(--font-weight-medium)
}

.alert-info {
	color: var(--blue);
	background: var(--blue-lt);
	border-color: #066fd133
}

.alert-success {
	color: var(--green);
	background: var(--green-lt);
	border-color: #2fb34433
}

.alert-warning {
	color: #b45309;
	background: var(--yellow-lt);
	border-color: #f59f0033
}

.alert-error {
	color: var(--red);
	background: var(--red-lt);
	border-color: #d6393933
}

.chip, chip{
	align-items: center;
	gap: var(--space-1);
	height: 22px;
	font-size: 11.5px;
	font-weight: var(--font-weight-medium);
	color: var(--text-secondary);
	background: color-mix(in srgb, currentColor 6%, transparent);
	border-color: color-mix(in srgb, currentColor 20%, transparent);
	border: 1px solid var(--border-color);
	white-space: nowrap;
	border-radius: 11px;
	padding: 0 8px;
	display: inline-flex;
	transition: background .12s, color .12s, opacity .15s, transform .15s;
}

.chip.active {
	background: var(--primary-lt);
	color: var(--primary)
}

.chip-close {
	cursor: pointer;
	width: 14px;
	height: 14px;
	color: inherit;
	opacity: .55;
	background: 0 0;
	border: none;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	margin-left: 4px;
	padding: 0;
	font-size: 14px;
	line-height: 1;
	display: inline-flex
}

.chip-close:hover {
	opacity: 1;
	background: #00000014
}


.chip-primary {
	color: var(--primary);
	background: var(--primary-lt);
	border-color: #1abb9c33
}

.chip-blue {
	color: var(--blue);
	background: var(--blue-lt);
	border-color: #066fd133
}

.chip-green {
	color: var(--green);
	background: var(--green-lt);
	border-color: #2fb34433
}

.chip-yellow {
	color: #b45309;
	background: var(--yellow-lt);
	border-color: #f59f0033
}

.chip-red {
	color: var(--red);
	background: var(--red-lt);
	border-color: #d6393933
}

.chip-purple {
	color: var(--purple);
	background: var(--purple-lt);
	border-color: #ae3ec933
}

.calendar-toolbar {
	align-items: center;
	gap: var(--space-3);
	border-bottom: 1px solid var(--border-color-light);
	padding: 12px 16px;
	display: flex
}

.calendar-month {
	font-size: 14px;
	font-weight: var(--font-weight-bold);
	color: var(--text)
}

.calendar-toolbar .nav-btns {
	gap: var(--space-1);
	display: flex
}

.calendar-toolbar .spacer {
	flex: 1
}

.calendar-grid {
	background: var(--border-color-light);
	border-bottom: 1px solid var(--border-color-light);
	grid-template-columns: repeat(7, 1fr);
	gap: 1px;
	display: grid
}

.calendar-grid .dow {
	background: var(--bg-surface-secondary);
	font-size: 10.5px;
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--text-muted);
	text-align: center;
	padding: 8px
}

.calendar-day {
	background: var(--bg-surface);
	cursor: pointer;
	min-height: 90px;
	padding: 6px 8px;
	font-size: 12px;
	transition: background .1s;
	position: relative
}

.calendar-day:hover {
	background: var(--bg-surface-secondary)
}

.calendar-day.muted {
	color: var(--text-disabled);
	background: var(--bg-surface-secondary)
}

.calendar-day.today .day-num {
	background: var(--primary);
	color: #fff;
	width: 22px;
	height: 22px;
	font-weight: var(--font-weight-bold);
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	display: inline-flex
}

.calendar-day .day-num {
	font-weight: var(--font-weight-medium);
	font-size: 12px
}

.calendar-event {
	background: var(--primary-lt);
	color: var(--primary);
	font-size: 10.5px;
	line-height: 1.4;
	font-weight: var(--font-weight-medium);
	white-space: nowrap;
	text-overflow: ellipsis;
	cursor: pointer;
	border-radius: 3px;
	margin-top: 4px;
	padding: 2px 6px;
	transition: filter .12s;
	display: block;
	overflow: hidden
}

.calendar-event:hover {
	filter: brightness(.95)
}

.calendar-day {
	cursor: pointer
}

.calendar-event.blue {
	background: var(--blue-lt);
	color: var(--blue)
}

.calendar-event.yellow {
	background: var(--yellow-lt);
	color: #b45309
}

.calendar-event.red {
	background: var(--red-lt);
	color: var(--red)
}

.calendar-event.purple {
	background: var(--purple-lt);
	color: var(--purple)
}

@media (max-width:700px) {
	.calendar-grid {
		scroll-snap-type: x proximity;
		grid-template-columns: repeat(7, minmax(72px, 1fr));
		overflow-x: auto
	}

	.calendar-grid>* {
		scroll-snap-align: start
	}

	.calendar-day {
		min-height: 70px;
		padding: 4px 6px
	}

	.calendar-event {
		padding: 1px 4px;
		font-size: 10px
	}
}

.inbox-layout {
	grid-template-columns: 200px 320px 1fr;
	height: calc(100vh - 240px);
	min-height: 640px;
	display: grid;
	position: relative
}

.inbox-sidebar {
	border-right: 1px solid var(--border-color-light);
	padding: 12px 8px;
	overflow-y: auto
}

.inbox-sidebar-label {
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--text-muted);
	padding: 14px 10px 4px;
	font-size: 10px;
	font-weight: 600
}

.inbox-folder {
	align-items: center;
	gap: var(--space-2);
	border-radius: var(--radius-sm);
	color: var(--text-secondary);
	cursor: pointer;
	margin-bottom: 1px;
	padding: 6px 10px;
	font-size: 12.5px;
	text-decoration: none;
	transition: background .1s, color .1s;
	display: flex
}

.inbox-folder:hover {
	background: var(--bg-surface-secondary);
	color: var(--text);
	text-decoration: none
}

.inbox-folder.active {
	background: var(--primary-lt);
	color: var(--primary);
	font-weight: var(--font-weight-medium)
}

.inbox-folder .count {
	color: var(--text-muted);
	background: var(--bg-surface-secondary);
	text-align: center;
	border-radius: 10px;
	min-width: 18px;
	margin-left: auto;
	padding: 1px 6px;
	font-size: 11px
}

.inbox-folder.active .count {
	color: var(--primary);
	background: #1abb9c24
}

.inbox-folder svg {
	flex-shrink: 0;
	width: 14px;
	height: 14px
}

.inbox-label-dot {
	border-radius: 50%;
	flex-shrink: 0;
	width: 8px;
	height: 8px
}

.inbox-list-pane {
	border-right: 1px solid var(--border-color-light);
	flex-direction: column;
	display: flex;
	overflow: hidden
}

.inbox-list-toolbar {
	gap: var(--space-2);
	border-bottom: 1px solid var(--border-color-light);
	align-items: center;
	padding: 10px 12px;
	display: flex
}

.inbox-search {
	background: var(--bg-surface-secondary);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	height: 30px;
	font-family: var(--font);
	color: var(--text);
	flex: 1;
	padding: 0 10px;
	font-size: 12.5px
}

.inbox-search:focus {
	border-color: var(--primary);
	background: var(--bg-surface);
	outline: none
}

.inbox-list {
	flex: 1;
	overflow-y: auto
}

.inbox-item {
	gap: var(--space-2);
	border-bottom: 1px solid var(--border-color-light);
	cursor: pointer;
	grid-template-columns: 26px 1fr auto;
	align-items: start;
	padding: 10px 12px;
	font-size: 13px;
	transition: background 80ms;
	display: grid
}

.inbox-item:hover {
	background: var(--bg-surface-secondary)
}

.inbox-item.unread {
	background: var(--bg-surface)
}

.inbox-item.unread .sender,
.inbox-item.unread .subject {
	color: var(--text);
	font-weight: var(--font-weight-bold)
}

.inbox-item.selected {
	background: var(--primary-lt);
	border-left: 2px solid var(--primary);
	padding-left: 10px
}

.inbox-item-body {
	min-width: 0
}

.inbox-item .sender {
	font-size: 12.5px;
	font-weight: var(--font-weight-medium);
	color: var(--text-secondary);
	text-overflow: ellipsis;
	white-space: nowrap;
	margin-bottom: 1px;
	overflow: hidden
}

.inbox-item .subject {
	color: var(--text-secondary);
	text-overflow: ellipsis;
	white-space: nowrap;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	display: flex;
	overflow: hidden
}

.inbox-item .preview {
	color: var(--text-muted);
	text-overflow: ellipsis;
	white-space: nowrap;
	margin-top: 1px;
	font-size: 11.5px;
	overflow: hidden
}

.inbox-item .meta {
	text-align: right;
	color: var(--text-muted);
	white-space: nowrap;
	padding-top: 2px;
	font-size: 11px
}

.inbox-star-btn {
	cursor: pointer;
	background: 0 0;
	border: 0;
	border-radius: 4px;
	justify-content: center;
	align-items: center;
	width: 22px;
	height: 22px;
	padding: 4px;
	display: flex
}

.inbox-star-btn:hover {
	background: #0000000a
}

.inbox-star-btn .star {
	width: 14px;
	height: 14px;
	color: var(--border-color)
}

.inbox-star-btn .star.on {
	color: var(--yellow);
	fill: var(--yellow)
}

.inbox-label-pill {
	text-transform: capitalize;
	border-radius: 8px;
	flex-shrink: 0;
	padding: 1px 6px;
	font-size: 10px;
	font-weight: 600
}

.inbox-label-pill[data-label=work] {
	background: var(--primary-lt);
	color: var(--primary)
}

.inbox-label-pill[data-label=personal] {
	background: var(--blue-lt);
	color: var(--blue)
}

.inbox-label-pill[data-label=promotions] {
	background: var(--yellow-lt);
	color: var(--yellow)
}

.inbox-label-pill[data-label=urgent] {
	background: var(--red-lt);
	color: var(--red)
}

.inbox-label-pill-lg {
	border-radius: 12px;
	margin-bottom: 12px;
	padding: 3px 10px;
	font-size: 11px;
	display: inline-block
}

.inbox-reader {
	background: var(--bg-surface);
	flex-direction: column;
	display: flex;
	overflow: hidden
}

.inbox-reader-toolbar {
	border-bottom: 1px solid var(--border-color-light);
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	display: flex
}

.inbox-reader-toolbar [data-action=back] {
	display: none
}

.inbox-reader-spacer {
	flex: 1
}

.inbox-reader-content {
	flex: 1;
	padding: 24px 28px;
	overflow-y: auto
}

.inbox-reader-subject {
	color: var(--text);
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3
}

.inbox-reader-meta {
	align-items: center;
	gap: var(--space-3);
	border-bottom: 1px solid var(--border-color-light);
	margin-bottom: 18px;
	padding: 0 0 18px;
	display: flex
}

.inbox-reader-avatar {
	color: #fff;
	border-radius: 50%;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	font-size: 13px;
	font-weight: 600;
	display: flex
}

.inbox-reader-meta-text {
	flex: 1;
	font-size: 13px
}

.inbox-reader-meta-text strong {
	color: var(--text);
	font-weight: var(--font-weight-medium)
}

.inbox-reader-email {
	color: var(--text-muted);
	font-size: 12px
}

.inbox-reader-to {
	color: var(--text-muted);
	margin-top: 2px;
	font-size: 12px
}

.inbox-reader-time {
	color: var(--text-muted);
	font-size: 12px
}

.inbox-reader-body {
	color: var(--text);
	white-space: pre-wrap;
	word-wrap: break-word;
	font-size: 13.5px;
	line-height: 1.65
}

.inbox-reader-empty {
	height: 100%
}

.compose-form .form-control[id=compose-body] {
	resize: vertical;
	min-height: 180px;
	font-family: var(--font)
}

@media (max-width:1100px) {
	.inbox-layout {
		grid-template-columns: 180px 280px 1fr
	}
}

@media (max-width:900px) {
	.inbox-layout {
		grid-template-columns: 1fr
	}

	.inbox-sidebar {
		display: none
	}

	.inbox-list-pane,
	.inbox-reader {
		grid-area: 1/1
	}

	.inbox-reader,
	#inbox-root.reader-open .inbox-list-pane {
		display: none
	}

	#inbox-root.reader-open .inbox-reader {
		display: flex
	}

	.inbox-reader-toolbar [data-action=back] {
		display: inline-flex
	}
}

.invoice {
	background: var(--bg-surface);
	padding: 32px
}

.invoice-header {
	border-bottom: 1px solid var(--border-color);
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 32px;
	padding-bottom: 16px;
	display: flex
}

.invoice-header h1 {
	letter-spacing: -.5px;
	color: var(--text);
	margin-bottom: 4px;
	font-size: 28px;
	font-weight: 700
}

.invoice-meta {
	color: var(--text-muted);
	font-size: 12.5px
}

.invoice-meta strong {
	color: var(--text);
	font-weight: var(--font-weight-medium)
}

.invoice-grid {
	gap: var(--space-5);
	grid-template-columns: 1fr 1fr;
	margin-bottom: 28px;
	display: grid
}

.invoice-grid h4 {
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--text-muted);
	margin-bottom: 6px
}

.invoice-grid p {
	color: var(--text-secondary);
	font-size: 13px;
	line-height: 1.5
}

.invoice-grid p strong {
	color: var(--text);
	font-weight: var(--font-weight-medium)
}

@media (max-width:768px) {
	.invoice {
		padding: 16px
	}

	.invoice-header {
		gap: var(--space-3);
		flex-direction: column;
		margin-bottom: 20px
	}

	.invoice-grid {
		gap: var(--space-3);
		grid-template-columns: 1fr;
		margin-bottom: 20px
	}
}

.invoice-totals {
	justify-content: flex-end;
	margin-top: 16px;
	display: flex
}

.invoice-totals table {
	font-size: 13px
}

.invoice-totals td {
	color: var(--text-secondary);
	padding: 4px 16px 4px 0
}

.invoice-totals td:last-child {
	text-align: right;
	min-width: 100px;
	color: var(--text);
	font-weight: var(--font-weight-medium);
	padding-right: 0
}

.invoice-totals tr.grand td {
	border-top: 2px solid var(--border-color);
	color: var(--text);
	padding-top: 8px;
	font-size: 16px;
	font-weight: 600
}

.invoice-editor {
	border-top: 1px solid var(--border-color-light);
	padding-top: var(--space-3);
	margin-top: 18px
}

.invoice-editor-header,
.line-row {
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: .4px;
	grid-template-columns: 1fr 60px 90px 100px 28px;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	font-size: 11.5px;
	display: grid
}

.line-row {
	color: var(--text);
	text-transform: none;
	letter-spacing: 0;
	border-top: 1px solid var(--border-color-light);
	padding: var(--space-2) 0;
	font-size: 13px
}

.line-row input[type=text],
.line-row input[type=number] {
	width: 100%;
	font: inherit;
	color: var(--text);
	padding: var(--space-1) 6px;
	border-radius: var(--radius-sm);
	background: 0 0;
	border: 1px solid #0000;
	font-size: 13px;
	transition: border-color .1s, background .1s
}

.line-row input[type=text]:hover,
.line-row input[type=number]:hover {
	border-color: var(--border-color)
}

.line-row input[type=text]:focus,
.line-row input[type=number]:focus {
	border-color: var(--primary);
	background: var(--bg-surface);
	box-shadow: 0 0 0 3px var(--primary-lt);
	outline: none
}

.line-row input[type=number] {
	text-align: right;
	-moz-appearance: textfield
}

.line-row input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0
}

.line-row input[type=number]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0
}

.line-row .desc-wrap input.desc-sub {
	color: var(--text-muted);
	margin-top: 2px;
	font-size: 11.5px
}

.line-row .amount {
	text-align: right;
	font-weight: var(--font-weight-medium);
	color: var(--text)
}

.line-row .remove-btn {
	width: 24px;
	height: 24px;
	color: var(--text-muted);
	cursor: pointer;
	opacity: 0;
	background: 0 0;
	border: 0;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	transition: opacity .1s, background .1s, color .1s;
	display: flex
}

.line-row:hover .remove-btn {
	opacity: 1
}

.line-row .remove-btn:hover {
	background: var(--red-lt);
	color: var(--red)
}

@media (max-width:600px) {
	.invoice-editor-header {
		display: none
	}

	.line-row {
		grid-template-columns: 1fr 60px 90px 28px;
		grid-template-areas: "desc desc desc remove""qty rate amount amount";
		row-gap: 6px
	}

	.line-row .desc-wrap {
		grid-area: desc
	}

	.line-row .qty {
		grid-area: qty
	}

	.line-row .rate {
		grid-area: rate
	}

	.line-row .amount {
		grid-area: amount
	}

	.line-row .remove-btn {
		opacity: 1;
		grid-area: remove
	}
}

.totals-input {
	width: 50px;
	margin: 0 var(--space-1);
	font: inherit;
	text-align: right;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	background: var(--bg-surface);
	color: var(--text);
	-moz-appearance: textfield;
	padding: 1px 6px;
	font-size: 12.5px
}

.totals-input:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 2px var(--primary-lt);
	outline: none
}

.totals-input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0
}

.totals-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0
}

.invoice-payment-status {
	margin-top: var(--space-6);
	background: var(--bg-surface-secondary);
	border-radius: var(--radius);
	justify-content: space-between;
	gap: var(--space-3);
	padding: 18px;
	display: flex;
	position: relative
}

.invoice-payment-status:before {
	content: "";
	background: var(--border-color);
	z-index: 0;
	height: 2px;
	position: absolute;
	top: 28px;
	left: 32px;
	right: 32px
}

.ips-step {
	z-index: 1;
	text-align: center;
	flex-direction: column;
	flex: 1;
	align-items: center;
	gap: 6px;
	display: flex;
	position: relative
}

.ips-dot {
	background: var(--bg-surface);
	border: 2px solid var(--border-color);
	border-radius: 50%;
	width: 20px;
	height: 20px
}

.ips-step.done .ips-dot {
	background: var(--primary);
	border-color: var(--primary)
}

.ips-step.active .ips-dot {
	background: var(--bg-surface);
	border-color: var(--primary);
	box-shadow: 0 0 0 4px var(--primary-lt)
}

.ips-step.paid .ips-dot {
	background: var(--green);
	border-color: var(--green)
}

.ips-step .ips-title {
	font-size: 12.5px;
	font-weight: var(--font-weight-medium);
	color: var(--text)
}

.ips-step:not(.done):not(.active):not(.paid) .ips-title {
	color: var(--text-muted)
}

.ips-step .ips-time {
	color: var(--text-muted);
	font-size: 11px
}

@media print {

	.invoice-editor-header,
	.line-row .remove-btn,
	#add-line,
	.totals-input {
		display: none
	}

	.line-row input {
		background: 0 0;
		border: 0;
		padding: 0
	}

	.invoice-payment-status {
		display: none
	}
}

.project-card {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	cursor: pointer;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
	transition: border-color .12s, box-shadow .12s;
	display: flex
}

.project-card:hover {
	border-color: var(--text-muted);
	box-shadow: 0 2px 8px #1e26330f
}

.project-card .top {
	justify-content: space-between;
	align-items: flex-start;
	display: flex
}

.project-card .title {
	font-size: 14px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	margin-bottom: 2px
}

.project-card .client {
	color: var(--text-muted);
	font-size: 11.5px
}

.project-card .desc {
	color: var(--text-secondary);
	font-size: 12.5px;
	line-height: 1.45
}

.project-card .footer-row {
	border-top: 1px solid var(--border-color-light);
	color: var(--text-muted);
	justify-content: space-between;
	align-items: center;
	padding-top: 10px;
	font-size: 11.5px;
	display: flex
}

.project-card .avatars {
	display: flex
}

.project-card .avatars .av {
	border: 2px solid var(--bg-surface);
	color: #fff;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	width: 22px;
	height: 22px;
	margin-left: -4px;
	font-size: 9px;
	font-weight: 600;
	display: flex
}

.project-card .avatars .av:first-child {
	margin-left: 0
}

.product-card {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	color: inherit;
	text-decoration: none;
	transition: border-color .12s, box-shadow .12s, transform .12s;
	display: block;
	overflow: hidden
}

.product-card:hover {
	border-color: var(--primary);
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px #1e263314
}

.product-thumb {
	aspect-ratio: 4/3;
	background: var(--bg-surface-secondary);
	position: relative;
	overflow: hidden
}

.product-thumb svg {
	width: 100%;
	height: 100%;
	display: block
}

.product-thumb .product-badge {
	position: absolute;
	top: 8px;
	left: 8px
}

.product-info {
	padding: 12px
}

.product-info .name {
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	color: var(--text);
	margin-bottom: 2px
}

.product-info .category {
	color: var(--text-muted);
	margin-bottom: 8px;
	font-size: 11px
}

.product-info .price-row {
	align-items: baseline;
	gap: 6px;
	display: flex
}

.product-info .price {
	color: var(--text);
	font-size: 15px;
	font-weight: 600
}

.product-info .price-old {
	color: var(--text-muted);
	font-size: 12px;
	text-decoration: line-through
}

.product-info .stars {
	color: var(--yellow);
	margin-top: 4px;
	font-size: 12px
}

.contact-card {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	text-align: center;
	padding: 16px
}

.contact-card .av {
	color: #fff;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 10px;
	font-size: 18px;
	font-weight: 600;
	display: flex
}

.contact-card .name {
	font-size: 14px;
	font-weight: var(--font-weight-bold);
	color: var(--text)
}

.contact-card .role {
	color: var(--text-muted);
	margin-bottom: 12px;
	font-size: 11.5px
}

.contact-card .stats {
	justify-content: center;
	gap: var(--space-4);
	border-top: 1px solid var(--border-color-light);
	color: var(--text-muted);
	padding-top: 12px;
	font-size: 11px;
	display: flex
}

.contact-card .stats strong {
	color: var(--text);
	font-size: 13px;
	font-weight: var(--font-weight-bold);
	display: block
}

.icon-grid {
	gap: var(--space-3);
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	display: grid
}

.icon-category {
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: .6px;
	border-bottom: 1px solid var(--border-color-light);
	margin-top: 8px;
	padding: 22px 4px 10px;
	font-size: 12px;
	font-weight: 600
}

.icon-category:first-child {
	margin-top: 0;
	padding-top: 4px
}

.icon-cell {
	aspect-ratio: 1;
	border: 1px solid var(--border-color-light);
	border-radius: var(--radius);
	background: var(--bg-surface);
	cursor: pointer;
	font-size: 12px;
	font-weight: var(--font-weight-medium);
	color: var(--text-muted);
	text-align: center;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 14px;
	padding: 22px 12px;
	transition: background .1s, border-color .1s, transform .1s;
	display: flex;
	position: relative
}

.icon-cell:hover {
	background: var(--bg-surface);
	border-color: var(--primary);
	color: var(--text);
	transform: translateY(-1px);
	box-shadow: 0 2px 8px #0f172a0a
}

.icon-cell svg {
	width: 48px;
	height: 48px;
	color: var(--text-secondary);
	stroke-width: 1.4px;
	transition: color .1s
}

.icon-cell:hover svg {
	color: var(--primary)
}

.icon-cell .copied {
	background: var(--primary-lt);
	color: var(--primary);
	border-radius: var(--radius);
	opacity: 0;
	pointer-events: none;
	justify-content: center;
	align-items: center;
	font-weight: 600;
	transition: opacity .15s;
	display: flex;
	position: absolute;
	inset: 0
}

.icon-cell.was-copied .copied {
	opacity: 1
}

.icon-cell.was-copied {
	border-color: var(--primary)
}

.type-row {
	gap: var(--space-4);
	border-bottom: 1px solid var(--border-color-light);
	grid-template-columns: 100px 1fr;
	padding: 12px 0;
	display: grid
}

.type-row:last-child {
	border-bottom: none
}

.type-label {
	color: var(--text-muted);
	font-size: 11px;
	font-family: var(--font-mono);
	padding-top: 4px
}

.type-row .type-sample,
.type-row>:last-child {
	overflow-wrap: anywhere;
	min-width: 0
}

@media (max-width:600px) {
	.type-row {
		gap: var(--space-1);
		grid-template-columns: 1fr
	}
}

.detail-project {
	flex-direction: column;
	gap: 18px;
	display: flex
}

.detail-project .detail-header {
	gap: var(--space-4);
	justify-content: space-between;
	align-items: flex-start;
	display: flex
}

.detail-project .head-left {
	flex: 1;
	min-width: 0
}

.detail-project .client-tag {
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--text-muted);
	margin-bottom: 6px;
	display: inline-block
}

.detail-project .desc {
	color: var(--text-secondary);
	font-size: 13px;
	line-height: 1.5
}

.detail-stats {
	gap: var(--space-3);
	border-top: 1px solid var(--border-color-light);
	border-bottom: 1px solid var(--border-color-light);
	grid-template-columns: 1fr 1fr 1fr;
	padding: 14px 0;
	display: grid
}

.detail-stats .stat-block .label {
	font-size: 11px;
	font-weight: var(--font-weight-medium);
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: .3px;
	margin-bottom: 4px
}

.detail-stats .stat-block .value {
	font-size: 18px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	margin-bottom: 6px
}

.detail-stats .stat-block .progress-thin {
	margin-top: 4px
}

.detail-section .detail-section-title {
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--text-muted);
	margin-bottom: 8px
}

.detail-members {
	gap: var(--space-2);
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	display: grid
}

.detail-member {
	border-radius: var(--radius-sm);
	background: var(--bg-surface-secondary);
	align-items: center;
	gap: 10px;
	padding: 8px;
	display: flex
}

.detail-member .av {
	color: #fff;
	width: 32px;
	height: 32px;
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	border-radius: 50%;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	display: inline-flex
}

.detail-member .meta {
	flex-direction: column;
	min-width: 0;
	display: flex
}

.detail-member .name {
	font-size: 12.5px;
	font-weight: var(--font-weight-medium);
	color: var(--text);
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden
}

.detail-member .role {
	color: var(--text-muted);
	font-size: 11px
}

.detail-tasks {
	gap: var(--space-1);
	flex-direction: column;
	display: flex
}

.detail-task {
	color: var(--text);
	align-items: center;
	gap: 10px;
	padding: 6px 4px;
	font-size: 13px;
	display: flex
}

.detail-task .checkbox {
	border: 1.5px solid var(--border-color);
	color: #fff;
	border-radius: 4px;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	width: 16px;
	height: 16px;
	display: inline-flex
}

.detail-task.done .checkbox {
	background: var(--primary);
	border-color: var(--primary)
}

.detail-task.done .task-title {
	color: var(--text-muted);
	text-decoration: line-through
}

.detail-activity {
	gap: var(--space-2);
	flex-direction: column;
	display: flex
}

.detail-activity-item {
	color: var(--text-secondary);
	align-items: flex-start;
	gap: 10px;
	font-size: 12.5px;
	line-height: 1.45;
	display: flex
}

.detail-activity-item .dot {
	background: var(--primary);
	border-radius: 50%;
	flex-shrink: 0;
	width: 6px;
	height: 6px;
	margin-top: 7px
}

.detail-activity-item strong {
	color: var(--text);
	font-weight: var(--font-weight-medium)
}

.detail-activity-item .time {
	color: var(--text-muted)
}

.detail-contact {
	flex-direction: column;
	gap: 18px;
	display: flex
}

.detail-contact-head {
	align-items: center;
	gap: var(--space-4);
	display: flex
}

.detail-contact-head .big-av {
	color: #fff;
	width: 64px;
	height: 64px;
	font-size: 22px;
	font-weight: var(--font-weight-bold);
	border-radius: 50%;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	display: inline-flex
}

.detail-contact-head .name {
	font-size: 18px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	margin-bottom: 2px
}

.detail-contact-head .role {
	color: var(--text-muted);
	font-size: 13px
}

.detail-contact-fields {
	border-top: 1px solid var(--border-color-light);
	border-bottom: 1px solid var(--border-color-light);
	grid-template-columns: 1fr 1fr;
	gap: 12px 18px;
	padding: 14px 0;
	display: grid
}

.detail-contact-fields>div {
	flex-direction: column;
	gap: 2px;
	display: flex
}

.detail-contact-fields .label {
	font-size: 11px;
	font-weight: var(--font-weight-medium);
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: .3px
}

.detail-contact-fields .value {
	color: var(--text);
	font-size: 13px
}

.detail-contact-fields a.value {
	color: var(--primary)
}

.detail-contact-stats {
	gap: var(--space-3);
	text-align: center;
	grid-template-columns: repeat(3, 1fr);
	display: grid
}

.detail-contact-stats>div {
	background: var(--bg-surface-secondary);
	border-radius: var(--radius);
	padding: 12px
}

.detail-contact-stats strong {
	font-size: 22px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	margin-bottom: 2px;
	display: block
}

.detail-contact-stats span {
	color: var(--text-muted);
	font-size: 11px
}

button.project-card {
	appearance: none;
	border: 1px solid var(--border-color);
	background: var(--bg-surface);
	text-align: left;
	font: inherit;
	color: inherit;
	cursor: pointer
}

button.project-card:hover {
	border-color: var(--primary)
}

.contact-card {
	cursor: pointer
}

.page-fixed-footer .footer {
	left: var(--sidebar-w);
	background: var(--bg-surface);
	border-top: 1px solid var(--border-color);
	z-index: 80;
	position: fixed;
	bottom: 0;
	right: 0
}

.page-fixed-footer .page-wrapper {
	padding-bottom: 80px
}

@media (max-width:768px) {
	.page-fixed-footer .footer {
		left: 0
	}
}

.dropzone {
	border: 2px dashed var(--border-color);
	border-radius: var(--radius-lg);
	text-align: center;
	min-height: 200px;
	color: var(--text-muted);
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 40px 24px;
	transition: border-color .15s, background .15s;
	display: flex
}

.dropzone:hover,
.dropzone.over {
	border-color: var(--primary);
	background: var(--primary-lt);
	color: var(--primary)
}

.dropzone svg {
	opacity: .6;
	width: 36px;
	height: 36px;
	margin-bottom: 8px
}

.dropzone .hint {
	color: var(--text);
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	margin-bottom: 4px
}

.dropzone .sub {
	font-size: 11.5px
}

.upload-row {
	gap: var(--space-3);
	border-bottom: 1px solid var(--border-color-light);
	grid-template-columns: 32px 1fr auto auto;
	align-items: center;
	padding: 10px 0;
	font-size: 13px;
	display: grid
}

.upload-row:last-child {
	border-bottom: none
}

.upload-row .icon {
	background: var(--bg-surface-secondary);
	border-radius: var(--radius-sm);
	width: 32px;
	height: 32px;
	color: var(--text-muted);
	justify-content: center;
	align-items: center;
	font-size: 11px;
	font-weight: 600;
	display: flex
}

.wizard-steps {
	border-bottom: 1px solid var(--border-color-light);
	gap: 0;
	padding: 16px;
	display: flex
}

.wizard-step {
	opacity: .6;
	flex: 1;
	align-items: center;
	gap: 10px;
	display: flex
}

.wizard-step.active,
.wizard-step.done {
	opacity: 1
}

.wizard-step .num {
	background: var(--bg-surface-secondary);
	width: 28px;
	height: 28px;
	color: var(--text-muted);
	border: 1px solid var(--border-color);
	border-radius: 50%;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	font-size: 12px;
	font-weight: 600;
	display: flex
}

.wizard-step.active .num {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary-dk)
}

.wizard-step.done .num {
	background: var(--green);
	color: #fff;
	border-color: #0000
}

.wizard-step .label {
	color: var(--text);
	font-size: 12.5px;
	font-weight: var(--font-weight-medium)
}

.wizard-step .sub {
	color: var(--text-muted);
	font-size: 11px
}

.wizard-step+.wizard-step:before {
	content: "";
	background: var(--border-color);
	align-self: center;
	width: 32px;
	height: 1px;
	margin: 0 14px 0 -14px
}

.wizard-panel {
	padding: 20px;
	display: none
}

@media (max-width:600px) {
	.wizard-steps {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 12px
	}

	.wizard-step {
		flex: none;
		width: 100%
	}

	.wizard-step .sub,
	.wizard-step+.wizard-step:before {
		display: none
	}

	.wizard-panel {
		padding: 14px
	}
}

.wizard-panel.active {
	display: block
}

.media-grid {
	gap: var(--space-3);
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	display: grid
}

.media-tile {
	aspect-ratio: 1;
	border-radius: var(--radius-lg);
	cursor: pointer;
	border: 1px solid var(--border-color);
	transition: transform .15s;
	position: relative;
	overflow: hidden
}

.media-tile:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px #1e263314
}

.media-tile .meta {
	color: #fff;
	font-size: 11.5px;
	font-weight: var(--font-weight-medium);
	background: linear-gradient(#0000, #0000008c);
	justify-content: space-between;
	padding: 8px 10px;
	display: flex;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0
}

.media-tile .meta .size {
	opacity: .8;
	font-weight: 400
}

.pricing-tier {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	gap: var(--space-3);
	flex-direction: column;
	padding: 24px;
	display: flex
}

.pricing-tier.popular {
	border-color: var(--primary);
	box-shadow: 0 0 0 1px var(--primary), 0 4px 16px #1abb9c1f;
	position: relative
}

.pricing-tier.popular:before {
	content: "Most popular";
	background: var(--primary);
	color: #fff;
	text-transform: uppercase;
	letter-spacing: .4px;
	border-radius: 10px;
	padding: 3px 8px;
	font-size: 10px;
	font-weight: 600;
	position: absolute;
	top: -10px;
	right: 16px
}

.pricing-tier .name {
	color: var(--text);
	text-transform: uppercase;
	letter-spacing: .4px;
	font-size: 14px;
	font-weight: 600
}

.pricing-tier .price {
	letter-spacing: -1px;
	color: var(--text);
	font-size: 36px;
	font-weight: 700;
	line-height: 1
}

.pricing-tier .price small {
	color: var(--text-muted);
	margin-left: 4px;
	font-size: 12px;
	font-weight: 400
}

.pricing-tier .desc {
	color: var(--text-muted);
	font-size: 12.5px;
	line-height: 1.5
}

.pricing-tier ul {
	gap: var(--space-2);
	flex-direction: column;
	margin: 8px 0;
	padding: 0;
	list-style: none;
	display: flex
}

.pricing-tier ul li {
	color: var(--text-secondary);
	gap: var(--space-2);
	align-items: flex-start;
	font-size: 13px;
	display: flex
}

.pricing-tier ul li svg {
	width: 14px;
	height: 14px;
	color: var(--primary);
	flex-shrink: 0;
	margin-top: 2px
}

.landing-body {
	background: var(--bg-surface)
}

.landing-nav {
	z-index: 50;
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border-color);
	background: #ffffffd9;
	align-items: center;
	gap: 20px;
	padding: 14px 32px;
	display: flex;
	position: sticky;
	top: 0
}

.hero {
	text-align: center;
	background: radial-gradient(60% 80% at 30% 20%, #1abb9c14, #0000), radial-gradient(60% 80% at 70% 60%, #4299e10f, #0000);
	padding: 80px 32px 60px
}

.hero h1 {
	letter-spacing: -2px;
	max-width: 820px;
	color: var(--text);
	margin: 0 auto 18px;
	font-size: 56px;
	font-weight: 700;
	line-height: 1.05
}

.hero h1 span {
	background: linear-gradient(135deg, var(--primary), var(--azure));
	color: #0000;
	-webkit-background-clip: text;
	background-clip: text
}

.hero .subhead {
	color: var(--text-secondary);
	max-width: 560px;
	margin: 0 auto 28px;
	font-size: 17px;
	line-height: 1.5
}

.hero .cta {
	gap: 10px;
	display: inline-flex
}

.features {
	gap: var(--space-6);
	grid-template-columns: repeat(3, 1fr);
	max-width: 1100px;
	margin: 0 auto;
	padding: 60px 32px;
	display: grid
}

.feature .icon {
	background: var(--primary-lt);
	width: 44px;
	height: 44px;
	color: var(--primary);
	border-radius: var(--radius);
	justify-content: center;
	align-items: center;
	margin-bottom: 14px;
	display: flex
}

.feature .icon svg {
	width: 22px;
	height: 22px
}

.feature h2 {
	color: var(--text);
	margin-bottom: 6px;
	font-size: 15px;
	font-weight: 600
}

.feature p {
	color: var(--text-secondary);
	font-size: 13.5px;
	line-height: 1.55
}

.cta-band {
	background: linear-gradient(135deg, var(--primary), var(--primary-dk));
	color: #fff;
	text-align: center;
	padding: 60px 32px
}

.cta-band h2 {
	letter-spacing: -.8px;
	margin-bottom: 12px;
	font-size: 32px;
	font-weight: 700
}

.cta-band p {
	opacity: .9;
	max-width: 520px;
	margin: 0 auto 24px;
	font-size: 15px
}

.landing-footer {
	border-top: 1px solid var(--border-color-light);
	color: var(--text-muted);
	justify-content: space-between;
	align-items: center;
	padding: 32px;
	font-size: 12.5px;
	display: flex
}

@media (max-width:768px) {
	.hero h1 {
		letter-spacing: -1px;
		font-size: 36px
	}

	.features {
		grid-template-columns: 1fr
	}

	.landing-nav nav {
		display: none
	}
}

@media print {
	@page {
		margin: 16mm;
		size: auto
	}

	body {
		color: #000;
		background: #fff
	}

	.sidebar,
	.topbar,
	.footer,
	.skip-link,
	.sidebar-backdrop,
	toast-host,
	pop-up,
	.modal-backdrop,
	.page-actions,
	.breadcrumb,
	.card-opt-btn {
		display: none !important
	}

	.main {
		margin-left: 0 !important;
		padding: 0 !important
	}

	.page-wrapper {
		max-width: none !important;
		padding: 0 !important
	}

	.card,
	.invoice {
		page-break-inside: avoid;
		box-shadow: none !important;
		border: none !important
	}

	tr,
	.invoice-row {
		page-break-inside: avoid
	}

	a[href]:not([href^=\#]):not([href^=javascript\:]):after {
		content: " (" attr(href) ")";
		color: #555;
		font-size: .85em
	}

	[data-chart] {
		break-inside: avoid
	}
}

table.has-selection tbody tr:has(input[type=checkbox]:checked) {
	background: var(--primary-lt)
}

.bulk-selection-count {
	color: var(--text-muted);
	margin-right: 12px;
	font-size: 12px
}

.btn-sm {
	height: 28px;
	padding: 0 10px;
	font-size: 12px
}

.dt-container {
	font-family: var(--font);
	color: var(--text-secondary);
	font-size: 13px
}

.dt-layout-row.dt-layout-table {
	padding: 0
}

.dt-layout-row:not(.dt-layout-table) {
	justify-content: space-between;
	align-items: center;
	gap: var(--space-3);
	padding: 12px 16px;
	display: flex
}

.dt-layout-row+.dt-layout-row.dt-layout-table,
.dt-layout-row.dt-layout-table+.dt-layout-row {
	border-top: 1px solid var(--border-color-light)
}

.dt-search {
	width: 220px;
	position: relative
}

.dt-search label {
	display: none
}

.dt-search input {
	background: var(--body-bg);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	width: 100%;
	height: 32px;
	font: inherit;
	color: var(--text);
	outline: none;
	padding: 0 10px 0 32px;
	font-size: 13px;
	transition: border-color .15s, box-shadow .15s
}

.dt-search:before {
	content: "";
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%239ba5b1' stroke-width='1.5'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M11 11l3.5 3.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	width: 14px;
	height: 14px;
	position: absolute;
	top: 50%;
	left: 9px;
	transform: translateY(-50%)
}

.dt-search input::placeholder {
	color: var(--text-disabled)
}

.dt-search input:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--primary-lt)
}

.dt-info {
	color: var(--text-muted);
	font-size: 12px
}

.dt-paging {
	align-items: center;
	gap: var(--space-1);
	display: flex
}

.dt-paging .dt-paging-button {
	min-width: 28px;
	height: 28px;
	font-size: 12px;
	font-weight: var(--font-weight-medium);
	color: var(--text-secondary);
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	cursor: pointer;
	justify-content: center;
	align-items: center;
	padding: 0 8px;
	text-decoration: none;
	transition: background .1s, color .1s, border-color .1s;
	display: inline-flex
}

.dt-paging .dt-paging-button:hover:not(.disabled):not(.current) {
	background: var(--bg-surface-secondary);
	color: var(--text)
}

.dt-paging .dt-paging-button.current {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary-dk)
}

.dt-paging .dt-paging-button.disabled {
	color: var(--text-disabled);
	cursor: not-allowed;
	opacity: .6
}

.dt-paging .ellipsis {
	color: var(--text-disabled);
	padding: 0 4px;
	font-size: 12px
}

table.dataTable thead th {
	-webkit-user-select: none;
	user-select: none;
	position: relative
}

table.dataTable thead th .dt-column-header {
	align-items: center;
	gap: 6px;
	display: inline-flex
}

table.dataTable thead th.dt-orderable-asc,
table.dataTable thead th.dt-orderable-desc {
	cursor: pointer
}

table.dataTable thead th[data-orderable=false],
table.dataTable thead th.dt-orderable-none {
	cursor: default
}

table.dataTable thead th.dt-orderable-none .dt-column-order {
	display: none
}

.dt-column-order {
	opacity: .7;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14'%3E%3Cpath fill='%239ba5b1' d='M5 1L1 5h8z'/%3E%3Cpath fill='%239ba5b1' d='M5 13L1 9h8z'/%3E%3C/svg%3E");
	background-position: 50%;
	background-repeat: no-repeat;
	background-size: 10px 14px;
	border-radius: 3px;
	width: 10px;
	height: 14px;
	transition: opacity .12s, background-color .12s;
	display: inline-block
}

table.dataTable thead th:hover .dt-column-order {
	opacity: 1
}

table.dataTable thead th.dt-ordering-asc .dt-column-order {
	opacity: 1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14'%3E%3Cpath fill='%231ABB9C' d='M5 1L1 5h8z'/%3E%3Cpath fill='%23d8dee5' d='M5 13L1 9h8z'/%3E%3C/svg%3E")
}

table.dataTable thead th.dt-ordering-desc .dt-column-order {
	opacity: 1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 14'%3E%3Cpath fill='%23d8dee5' d='M5 1L1 5h8z'/%3E%3Cpath fill='%231ABB9C' d='M5 13L1 9h8z'/%3E%3C/svg%3E")
}

.dt-column-order:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 2px
}

table.dataTable thead th.dt-ordering-asc .dt-column-title,
table.dataTable thead th.dt-ordering-desc .dt-column-title {
	color: var(--text)
}

table.dataTable .dt-empty {
	text-align: center;
	color: var(--text-muted);
	padding: 32px 16px
}



.error-page {
	background: var(--body-bg);
	text-align: center;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	padding: 24px;
	display: flex
}

.error-content {
	max-width: 500px
}

.error-code {
	letter-spacing: -3px;
	background: linear-gradient(135deg, var(--primary), var(--azure));
	color: #0000;
	-webkit-background-clip: text;
	background-clip: text;
	margin-bottom: 8px;
	font-size: 96px;
	font-weight: 700;
	line-height: 1
}

.error-title {
	color: var(--text);
	margin-bottom: 8px;
	font-size: 22px;
	font-weight: 600
}

.error-message {
	color: var(--text-secondary);
	margin-bottom: 24px;
	font-size: 14px;
	line-height: 1.5
}

.error-actions {
	gap: var(--space-2);
	justify-content: center;
	display: flex
}



.form-hint {
	color: var(--text-muted);
	margin-top: 4px;
	font-size: 11.5px
}

.status-page-icon {
	background: var(--primary-lt);
	width: 80px;
	height: 80px;
	color: var(--primary);
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	margin: 0 auto 16px;
	display: flex
}

.status-page-meta {
	gap: var(--space-3);
	text-align: left;
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	grid-template-columns: 1fr 1fr;
	margin: 20px 0 24px;
	padding: 14px 16px;
	display: grid
}

.status-page-meta .meta-label {
	font-size: 10.5px;
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--text-muted);
	margin-bottom: 2px
}

.status-page-meta .meta-value {
	color: var(--text);
	font-size: 13px;
	font-weight: var(--font-weight-medium)
}

.countdown {
	gap: var(--space-2);
	grid-template-columns: repeat(4, 1fr);
	margin: 24px 0;
	display: grid
}

.countdown-cell {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 14px 8px
}

.countdown-cell .num {
	font-size: 28px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	font-variant-numeric: tabular-nums;
	letter-spacing: -1px;
	line-height: 1.1
}

.countdown-cell .lbl {
	font-size: 10.5px;
	font-weight: var(--font-weight-medium);
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: .5px;
	margin-top: 2px
}

@media (max-width:480px) {
	.countdown-cell .num {
		font-size: 22px
	}
}

.coming-soon-form {
	gap: var(--space-2);
	align-items: stretch;
	display: flex
}

.coming-soon-form .input-group {
	flex: 1
}

.coming-soon-success {
	background: var(--green-lt);
	color: var(--green);
	border-radius: var(--radius);
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	margin-top: 16px;
	padding: 12px 16px
}

.chat-card {
	padding: 0;
	overflow: hidden
}

.chat-layout {
	grid-template-columns: 320px 1fr;
	height: calc(100vh - 156px);
	min-height: 540px;
	max-height: 800px;
	display: grid
}

.chat-rail {
	border-right: 1px solid var(--border-color-light);
	flex-direction: column;
	min-height: 0;
	display: flex
}

.chat-rail-search {
	align-items: center;
	gap: var(--space-2);
	border-bottom: 1px solid var(--border-color-light);
	flex-shrink: 0;
	padding: 12px 14px;
	display: flex
}

.chat-rail-search svg {
	width: 14px;
	height: 14px;
	color: var(--text-muted);
	flex-shrink: 0
}

.chat-rail-search input {
	font: inherit;
	color: var(--text);
	background: 0 0;
	border: none;
	outline: none;
	flex: 1;
	font-size: 13px
}

.chat-rail-search input::placeholder {
	color: var(--text-disabled)
}

.chat-rail-tabs {
	border-bottom: 1px solid var(--border-color-light);
	flex-shrink: 0;
	gap: 2px;
	padding: 8px 12px;
	display: flex
}

.chat-conversations {
	flex: auto;
	overflow-y: auto
}

.chat-conversation {
	border: none;
	border-bottom: 1px solid var(--border-color-light);
	cursor: pointer;
	text-align: left;
	width: 100%;
	font: inherit;
	background: 0 0;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	transition: background .1s;
	display: flex
}

.chat-conversation:hover {
	background: var(--bg-surface-secondary)
}

.chat-conversation.active {
	background: var(--primary-lt)
}

.chat-conversation .av {
	color: #fff;
	width: 36px;
	height: 36px;
	font-size: 12px;
	font-weight: var(--font-weight-bold);
	border-radius: 50%;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	display: inline-flex;
	position: relative
}

.chat-conversation .av .online {
	background: var(--green);
	border: 2px solid var(--bg-surface);
	border-radius: 50%;
	width: 9px;
	height: 9px;
	position: absolute;
	bottom: -1px;
	right: -1px
}

.chat-conversation .info {
	flex-direction: column;
	flex: auto;
	gap: 2px;
	min-width: 0;
	display: flex
}

.chat-conversation .row {
	justify-content: space-between;
	gap: var(--space-2);
	display: flex
}

.chat-conversation .name {
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	color: var(--text);
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden
}

.chat-conversation .name small {
	color: var(--text-muted);
	font-size: 11px;
	font-weight: 400
}

.chat-conversation .time {
	color: var(--text-muted);
	flex-shrink: 0;
	font-size: 11px
}

.chat-conversation .preview-row {
	align-items: center;
	gap: 6px;
	display: flex
}

.chat-conversation .preview {
	color: var(--text-muted);
	white-space: nowrap;
	text-overflow: ellipsis;
	flex: 1;
	font-size: 12px;
	overflow: hidden
}

.chat-conversation .unread {
	background: var(--primary);
	color: #fff;
	font-size: 10px;
	font-weight: var(--font-weight-bold);
	border-radius: 10px;
	flex-shrink: 0;
	padding: 1px 6px;
	line-height: 1.4
}

.chat-thread {
	flex-direction: column;
	min-height: 0;
	display: flex
}

.chat-thread-head {
	border-bottom: 1px solid var(--border-color-light);
	flex-shrink: 0;
	justify-content: space-between;
	align-items: center;
	padding: 10px 16px;
	display: flex
}

.chat-thread-peer {
	align-items: center;
	gap: 10px;
	display: flex
}

.chat-thread-peer .av {
	color: #fff;
	width: 36px;
	height: 36px;
	font-size: 12px;
	font-weight: var(--font-weight-bold);
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	display: inline-flex
}

.chat-thread-peer .name {
	font-size: 14px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	line-height: 1.2
}

.chat-thread-peer .presence {
	color: var(--text-muted);
	align-items: center;
	gap: 5px;
	margin-top: 2px;
	font-size: 11px;
	display: flex
}

.chat-thread-peer .presence .dot {
	background: var(--green);
	border-radius: 50%;
	width: 6px;
	height: 6px
}

.chat-thread-peer .presence .dot.off {
	background: var(--text-disabled)
}

.chat-thread-actions {
	gap: var(--space-1);
	align-items: center;
	display: flex
}

.chat-messages {
	gap: var(--space-3);
	background: var(--bg-surface-secondary);
	flex-direction: column;
	flex: auto;
	padding: 20px;
	display: flex;
	overflow-y: auto
}

.chat-bubble {
	flex-direction: column;
	max-width: 70%;
	display: flex
}

.chat-bubble.theirs {
	align-self: flex-start;
	align-items: flex-start
}

.chat-bubble.mine {
	align-self: flex-end;
	align-items: flex-end
}

.chat-bubble .bubble {
	word-wrap: break-word;
	border-radius: 14px;
	padding: 9px 13px;
	font-size: 13px;
	line-height: 1.45
}

.chat-bubble.theirs .bubble {
	background: var(--bg-surface);
	color: var(--text);
	border: 1px solid var(--border-color);
	border-bottom-left-radius: 4px
}

.chat-bubble.mine .bubble {
	background: var(--primary);
	color: #fff;
	border-bottom-right-radius: 4px
}

.chat-bubble .meta {
	color: var(--text-muted);
	margin-top: 4px;
	padding: 0 4px;
	font-size: 10.5px
}

.chat-composer {
	border-top: 1px solid var(--border-color-light);
	background: var(--bg-surface);
	flex-shrink: 0;
	align-items: center;
	gap: 6px;
	padding: 10px 12px;
	display: flex
}

.chat-composer input {
	border: 1px solid var(--border-color);
	background: var(--bg-surface-secondary);
	height: 36px;
	font: inherit;
	color: var(--text);
	border-radius: 18px;
	outline: none;
	flex: 1;
	padding: 0 12px;
	font-size: 13px;
	transition: border-color .12s, box-shadow .12s
}

.chat-composer input:focus {
	border-color: var(--primary);
	background: var(--bg-surface);
	box-shadow: 0 0 0 3px var(--primary-lt)
}

.composer-btn {
	border-radius: var(--radius-sm);
	cursor: pointer;
	width: 32px;
	height: 32px;
	color: var(--text-muted);
	background: 0 0;
	border: none;
	justify-content: center;
	align-items: center;
	transition: background .1s, color .1s;
	display: inline-flex
}

.composer-btn:hover {
	background: var(--bg-surface-secondary);
	color: var(--text)
}

.composer-send {
	height: 32px;
	padding: 0 12px
}

@media (max-width:768px) {
	.chat-layout {
		grid-template-columns: 1fr
	}

	.chat-rail {
		display: none
	}
}

.settings-layout {
	gap: var(--space-5);
	grid-template-columns: 220px minmax(0, 1fr);
	align-items: flex-start;
	display: grid
}

@media (max-width:900px) {
	.settings-layout {
		grid-template-columns: minmax(0, 1fr)
	}

	.settings-nav {
		position: static
	}
}

.settings-nav {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	flex-direction: column;
	gap: 1px;
	padding: 6px;
	display: flex;
	position: sticky;
	top: 72px
}

.settings-nav-link {
	border-radius: var(--radius-sm);
	color: var(--text-secondary);
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	align-items: center;
	gap: 10px;
	padding: 7px 10px;
	text-decoration: none;
	transition: background .12s, color .12s;
	display: flex;

	cursor: pointer;
	justify-content: space-between;
}

.settings-nav-link:hover {
	background: var(--bg-surface-secondary);
	color: var(--text);
	text-decoration: none
}

.settings-nav-link.active {
	background: var(--primary-lt);
	color: var(--primary)
}

.settings-nav-link svg {
	opacity: .7;
	flex-shrink: 0;
	width: 14px;
	height: 14px
}

.settings-nav-link.active svg {
	opacity: 1
}

.settings-nav-link.danger {
	color: var(--red)
}

.settings-nav-link.danger:hover {
	background: var(--red-lt);
	color: var(--red)
}

.settings-nav-sep {
	background: var(--border-color-light);
	height: 1px;
	margin: 6px 4px
}

.settings-content {
	flex-direction: column;
	gap: 20px;
	display: flex
}

.settings-section {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 24px;
	scroll-margin-top: 72px
}

.settings-section-title {
	font-size: 16px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	margin: 0 0 4px
}

.settings-section-desc {
	color: var(--text-muted);
	margin-bottom: 20px;
	font-size: 13px
}

.settings-form {
	flex-direction: column;
	gap: 14px;
	display: flex
}

.settings-row {
	gap: var(--space-4);
	border-bottom: 1px solid var(--border-color-light);
	grid-template-columns: 180px 1fr;
	align-items: flex-start;
	padding: 12px 0;
	display: grid
}

.settings-row:last-of-type {
	border-bottom: none
}

.settings-row>label {
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	color: var(--text);
	padding-top: 8px
}

.settings-row .form-control {
	max-width: 360px
}

.settings-control {
	flex-direction: column;
	gap: 6px;
	display: flex
}

.settings-hint {
	color: var(--text-muted);
	font-size: 11.5px
}

@media (max-width:600px) {
	.settings-row {
		grid-template-columns: 1fr;
		gap: 6px
	}
}

.profile-control {
	flex-direction: row;
	align-items: center;
	gap: 14px
}

.profile-preview {
	color: #fff;
	width: 56px;
	height: 56px;
	font-size: 22px;
	font-weight: var(--font-weight-bold);
	border-radius: 50%;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	display: inline-flex
}

.settings-actions {
	justify-content: flex-end;
	gap: var(--space-2);
	border-top: 1px solid var(--border-color-light);
	padding-top: 14px;
	display: flex
}

.settings-toggle-list {
	flex-direction: column;
	display: flex
}

.settings-toggle-row {
	border-bottom: 1px solid var(--border-color-light);
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	display: flex
}

.settings-toggle-row:last-child {
	border-bottom: none
}

.settings-toggle-row .label {
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	color: var(--text)
}

.settings-toggle-row .desc {
	color: var(--text-muted);
	margin-top: 2px;
	font-size: 12px
}

.session-list {
	flex-direction: column;
	gap: 6px;
	display: flex
}

.session-row {
	justify-content: space-between;
	align-items: center;
	gap: var(--space-3);
	background: var(--bg-surface-secondary);
	border-radius: var(--radius);
	padding: 10px 12px;
	display: flex
}

.session-row .device {
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	color: var(--text)
}

.session-row .meta {
	color: var(--text-muted);
	margin-top: 1px;
	font-size: 11.5px
}

.theme-options {
	gap: var(--space-2);
	flex-wrap: wrap;
	display: flex
}

.theme-option {
	background: var(--bg-surface-secondary);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	cursor: pointer;
	color: var(--text-secondary);
	align-items: center;
	gap: 6px;
	padding: 7px 14px;
	font-size: 13px;
	transition: background .12s, border-color .12s, color .12s;
	display: inline-flex
}

.theme-option input[type=radio] {
	accent-color: var(--primary);
	margin: 0
}

.theme-option:has(input:checked) {
	background: var(--primary-lt);
	border-color: var(--primary);
	color: var(--primary);
	font-weight: var(--font-weight-medium)
}

.integrations-grid {
	gap: var(--space-3);
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	display: grid
}

.integration {
	justify-content: space-between;
	align-items: center;
	gap: var(--space-3);
	background: var(--bg-surface-secondary);
	border-radius: var(--radius);
	padding: 14px;
	display: flex
}

.integration-head {
	align-items: center;
	gap: var(--space-3);
	display: flex
}

.integration .logo {
	border-radius: var(--radius);
	width: 36px;
	height: 36px;
	font-size: 12px;
	font-weight: var(--font-weight-bold);
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	display: inline-flex
}

.integration .title {
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	color: var(--text)
}

.integration .desc {
	color: var(--text-muted);
	margin-top: 1px;
	font-size: 11.5px
}

.billing-current {
	justify-content: space-between;
	align-items: center;
	gap: var(--space-3);
	background: linear-gradient(135deg, var(--primary-lt), var(--azure-lt));
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	margin-bottom: 14px;
	padding: 16px;
	display: flex
}

.billing-current .plan-name {
	font-size: 16px;
	font-weight: var(--font-weight-bold);
	color: var(--text)
}

.billing-current .plan-meta {
	color: var(--text-secondary);
	margin-top: 2px;
	font-size: 12px
}

.danger-row {
	justify-content: space-between;
	align-items: center;
	gap: var(--space-3);
	border-bottom: 1px solid var(--border-color-light);
	padding: 14px 0;
	display: flex
}

.danger-row:last-child {
	border-bottom: none
}

.danger-row .label {
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	color: var(--text)
}

.danger-row .desc {
	color: var(--text-muted);
	margin-top: 2px;
	font-size: 12px
}

.danger-row.danger-critical {
	background: var(--red-lt);
	border-radius: var(--radius);
	border: none;
	margin-top: 6px;
	padding: 14px
}

.danger-row.danger-critical .label {
	color: var(--red)
}

.notif-tabs .notif-tab-count {
	background: var(--primary-lt);
	color: var(--primary);
	font-size: 10px;
	font-weight: var(--font-weight-bold);
	border-radius: 10px;
	margin-left: 4px;
	padding: 0 6px;
	line-height: 1.6;
	display: inline-block
}

.notifications-list {
	flex-direction: column;
	display: flex
}

.notification-row {
	align-items: flex-start;
	gap: var(--space-3);
	border: none;
	border-bottom: 1px solid var(--border-color-light);
	cursor: pointer;
	text-align: left;
	font: inherit;
	background: 0 0;
	padding: 14px 20px;
	transition: background .1s;
	display: flex;
	position: relative
}

.notification-row:last-child {
	border-bottom: none
}

.notification-row:hover {
	background: var(--bg-surface-secondary)
}

.notification-row.unread:before {
	content: "";
	background: var(--primary);
	border-radius: 50%;
	width: 6px;
	height: 6px;
	position: absolute;
	top: 22px;
	left: 8px
}

.notification-row .notif-icon {
	border-radius: 50%;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	width: 32px;
	height: 32px;
	display: inline-flex
}

.notification-row .notif-info {
	background: var(--blue-lt);
	color: var(--blue)
}

.notification-row .notif-task {
	background: var(--primary-lt);
	color: var(--primary)
}

.notification-row .notif-alert {
	background: var(--red-lt);
	color: var(--red)
}

.notification-row .notif-mention {
	background: var(--purple-lt);
	color: var(--purple)
}

.notification-row .notif-body {
	flex: auto;
	min-width: 0;
	align-self: center;
}

.notification-row .notif-from {
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	color: var(--text);
	margin-bottom: 1px;
	display: block
}

.notification-row.unread .notif-from {
	font-weight: var(--font-weight-bold)
}

.notification-row .notif-text {
	color: var(--text-secondary);
	font-size: 13px;
	line-height: 1.45;
	display: block
}

.notification-row .notif-time {
	color: var(--text-muted);
	flex-shrink: 0;
	margin-top: 4px;
	font-size: 11.5px
}

.notifications-empty {
	text-align: center;
	color: var(--text-muted);
	padding: 60px 20px
}

.notifications-empty svg {
	color: var(--text-disabled);
	margin-bottom: 12px
}

.notifications-empty .empty-title {
	font-size: 14px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	margin-bottom: 4px
}

.notifications-empty .empty-desc {
	font-size: 12.5px
}

.lock-screen {
	padding-top: 24px
}

.lock-avatar {
	width: 80px;
	height: 80px;
	margin: 0 auto;
	position: relative
}

.lock-avatar-circle {
	color: #fff;
	width: 100%;
	height: 100%;
	font-size: 32px;
	font-weight: var(--font-weight-bold);
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	display: flex
}

.lock-icon {
	background: var(--bg-surface);
	border: 2px solid var(--bg-surface);
	width: 26px;
	height: 26px;
	color: var(--text-secondary);
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	display: flex;
	position: absolute;
	bottom: -2px;
	right: -4px;
	box-shadow: 0 2px 4px #0f172a1a
}

.otp-grid {
	gap: var(--space-2);
	grid-template-columns: repeat(6, 1fr);
	margin-bottom: 12px;
	display: grid
}

.otp-input {
	text-align: center;
	width: 100%;
	height: 48px;
	font-size: 22px;
	font-weight: var(--font-weight-bold);
	font-variant-numeric: tabular-nums;
	background: var(--bg-surface);
	border: 1.5px solid var(--border-color);
	border-radius: var(--radius);
	color: var(--text);
	outline: none;
	transition: border-color .12s, box-shadow .12s, background .12s
}

.otp-input:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--primary-lt);
	background: var(--bg-surface)
}

.otp-input:not(:placeholder-shown) {
	background: var(--primary-lt);
	border-color: var(--primary)
}

.otp-meta {
	color: var(--text-muted);
	justify-content: space-between;
	align-items: center;
	margin: 16px 0 20px;
	font-size: 12px;
	display: flex
}

.otp-meta strong {
	color: var(--text);
	font-variant-numeric: tabular-nums
}

.faq-hero {
	background: linear-gradient(135deg, var(--primary-lt), var(--azure-lt));
	border-color: #0000;
	margin-bottom: 16px
}

.faq-hero-inner {
	text-align: center;
	max-width: 580px;
	margin: 0 auto;
	padding: 32px
}

.faq-hero h2 {
	font-size: 22px;
	font-weight: var(--font-weight-bold);
	letter-spacing: -.3px;
	color: var(--text);
	margin: 0 0 6px
}

.faq-hero p {
	color: var(--text-secondary);
	margin: 0 0 18px;
	font-size: 14px
}

.faq-search {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	display: flex
}

.faq-search svg {
	width: 16px;
	height: 16px;
	color: var(--text-muted);
	flex-shrink: 0
}

.faq-search input {
	font: inherit;
	color: var(--text);
	background: 0 0;
	border: none;
	outline: none;
	flex: 1;
	font-size: 14px
}

.faq-quick {
	margin-bottom: 16px
}

.faq-card {
	cursor: pointer;
	padding: 18px;
	text-decoration: none;
	transition: border-color .12s, transform .12s;
	display: block
}

.faq-card:hover {
	border-color: var(--primary);
	text-decoration: none;
	transform: translateY(-1px)
}

.faq-card-icon {
	border-radius: var(--radius);
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	margin-bottom: 10px;
	display: inline-flex
}

.faq-card .title {
	font-size: 14px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	margin-bottom: 4px
}

.faq-card .desc {
	color: var(--text-muted);
	font-size: 12.5px;
	line-height: 1.5
}

.faq-categories {
	flex-wrap: wrap;
	gap: 6px;
	padding: 14px 0 4px;
	display: flex
}

.faq-list {
	flex-direction: column;
	display: flex
}

.faq-item {
	border-bottom: 1px solid var(--border-color-light)
}

.faq-item:last-child {
	border-bottom: none
}

.faq-q {
	width: 100%;
	font: inherit;
	font-size: 13.5px;
	font-weight: var(--font-weight-medium);
	color: var(--text);
	text-align: left;
	cursor: pointer;
	background: 0 0;
	border: none;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 14px 4px;
	display: flex
}

.faq-q:hover {
	color: var(--primary)
}

.faq-chev {
	color: var(--text-muted);
	flex-shrink: 0;
	transition: transform .18s
}

.faq-item.open .faq-chev {
	color: var(--primary);
	transform: rotate(180deg)
}

.faq-a {
	color: var(--text-secondary);
	max-height: 0;
	padding: 0 4px;
	font-size: 13px;
	line-height: 1.6;
	transition: max-height .22s, padding .18s;
	overflow: hidden
}

.faq-item.open .faq-a {
	max-height: 320px;
	padding: 0 4px 14px
}

.faq-a a {
	color: var(--primary)
}

.faq-a strong {
	color: var(--text);
	font-weight: var(--font-weight-medium)
}

.faq-empty {
	text-align: center;
	color: var(--text-muted);
	padding: 40px 16px
}

.faq-empty .title {
	font-size: 14px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	margin-bottom: 4px
}

.contact-channel {
	align-items: center;
	gap: var(--space-3);
	border-bottom: 1px solid var(--border-color-light);
	padding: 10px 0;
	text-decoration: none;
	display: flex
}

.contact-channel:last-child {
	border-bottom: none
}

.contact-channel:hover {
	text-decoration: none
}

.contact-channel:hover .title {
	color: var(--primary)
}

.contact-channel .ch-icon {
	border-radius: 50%;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	width: 32px;
	height: 32px;
	display: inline-flex
}

.contact-channel .title {
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	color: var(--text)
}

.contact-channel .meta {
	color: var(--text-muted);
	margin-top: 1px;
	font-size: 11.5px
}

.order-timeline {
	gap: var(--space-2);
	grid-template-columns: repeat(5, 1fr);
	display: grid;
	position: relative
}

.order-timeline:before {
	content: "";
	background: var(--border-color-light);
	z-index: 0;
	height: 2px;
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px
}

.order-timeline .step {
	z-index: 1;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	display: flex;
	position: relative
}

.order-timeline .step .dot {
	background: var(--bg-surface);
	border: 2px solid var(--border-color);
	border-radius: 50%;
	width: 24px;
	height: 24px
}

.order-timeline .step.done .dot {
	background: var(--primary);
	border-color: var(--primary)
}

.order-timeline .step.done .dot:after {
	content: "";
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M3 8l3 3 7-7'/%3E%3C/svg%3E") 50%/14px no-repeat;
	justify-content: center;
	align-items: center;
	width: 24px;
	height: 24px;
	display: flex;
	position: absolute
}

.order-timeline .step.active .dot {
	background: var(--bg-surface);
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--primary-lt)
}

.order-timeline .step .label {
	font-size: 12px;
	font-weight: var(--font-weight-medium);
	color: var(--text);
	text-align: center
}

.order-timeline .step:not(.done):not(.active) .label {
	color: var(--text-muted)
}

.order-timeline .step .meta {
	color: var(--text-muted);
	text-align: center;
	font-size: 10.5px
}

.order-info-row {
	justify-content: space-between;
	align-items: baseline;
	gap: var(--space-3);
	padding: 5px 0;
	font-size: 12.5px;
	display: flex
}

.order-info-row .label {
	color: var(--text-muted)
}

.order-info-row .value {
	color: var(--text);
	font-weight: var(--font-weight-medium);
	text-align: right
}

.users-filters {
	gap: var(--space-2);
	flex-wrap: wrap;
	align-items: center;
	display: flex
}

.role-chip {
	align-items: center;
	gap: var(--space-1);
	font-size: 11.5px;
	font-weight: var(--font-weight-bold);
	background: var(--bg-surface-secondary);
	color: var(--text);
	cursor: pointer;
	font: inherit;
	font-weight: var(--font-weight-bold);
	border: none;
	border-radius: 12px;
	padding: 3px 9px;
	font-size: 11.5px;
	display: inline-flex
}

.role-chip:hover {
	background: var(--border-color-light)
}

.role-chip.role-purple {
	background: var(--purple-lt);
	color: var(--purple)
}

.role-chip.role-red {
	background: var(--red-lt);
	color: var(--red)
}

.role-chip.role-blue {
	background: var(--blue-lt);
	color: var(--blue)
}

.role-chip.role-green {
	background: var(--green-lt);
	color: var(--green)
}

.cell-avatar.pending {
	border: 1.5px dashed var(--border-color);
	color: var(--text-muted) !important;
	background: 0 0 !important
}

.product-gallery {
	gap: var(--space-3);
	flex-direction: column;
	display: flex
}

.gallery-main {
	aspect-ratio: 4/3;
	border-radius: var(--radius-lg);
	background: var(--bg-surface-secondary);
	border: 1px solid var(--border-color);
	width: 100%;
	position: relative;
	overflow: hidden
}

.gallery-image {
	width: 100%;
	height: 100%;
	position: relative
}

.gallery-svg {
	width: 100%;
	height: 100%;
	display: block
}

.gallery-svg svg {
	display: block
}

.gallery-badge {
	background: var(--primary);
	color: #fff;
	font-size: 10px;
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: .4px;
	z-index: 2;
	border-radius: 3px;
	padding: 3px 9px;
	position: absolute;
	top: 12px;
	left: 12px;
	box-shadow: 0 2px 6px #0f172a2e
}

.gallery-thumbs {
	gap: var(--space-2);
	grid-template-columns: repeat(5, 1fr);
	display: grid
}

.gallery-thumb {
	aspect-ratio: 4/3;
	border: 2px solid var(--border-color);
	background: var(--bg-surface-secondary);
	border-radius: var(--radius);
	cursor: pointer;
	padding: 0;
	transition: border-color .12s, transform .12s;
	overflow: hidden
}

.gallery-thumb:hover {
	border-color: var(--text-muted);
	transform: translateY(-1px)
}

.gallery-thumb.active {
	border-color: var(--primary)
}

.gallery-thumb svg {
	width: 100%;
	height: 100%;
	display: block
}

.related-card .thumb {
	aspect-ratio: 4/3;
	border-radius: var(--radius-sm);
	background: var(--bg-surface-secondary);
	border: 1px solid var(--border-color);
	margin-bottom: 8px;
	overflow: hidden
}

.related-card .thumb svg {
	width: 100%;
	height: 100%;
	display: block
}

.product-meta {
	justify-content: space-between;
	align-items: center;
	margin-bottom: 6px;
	display: flex
}

.product-meta .rating {
	color: var(--yellow);
	font-size: 12px;
	font-weight: var(--font-weight-medium)
}

.product-meta .rating small {
	color: var(--text-muted);
	margin-left: 4px;
	font-weight: 400
}

.product-title {
	font-size: 22px;
	font-weight: var(--font-weight-bold);
	letter-spacing: -.3px;
	color: var(--text);
	margin: 0 0 8px
}

.product-tagline {
	color: var(--text-secondary);
	margin: 0 0 18px;
	font-size: 13.5px;
	line-height: 1.5
}

.product-price-row {
	align-items: baseline;
	gap: 10px;
	margin-bottom: 22px;
	display: flex
}

.product-price-row .price {
	font-size: 28px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	letter-spacing: -.5px
}

.product-price-row .price-old {
	color: var(--text-muted);
	font-size: 16px;
	text-decoration: line-through
}

.product-price-row .price-discount {
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	background: var(--red-lt);
	color: var(--red);
	border-radius: 10px;
	padding: 2px 8px
}

.product-option {
	margin-bottom: 16px
}

.option-label {
	font-size: 11.5px;
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--text-muted);
	margin-bottom: 6px
}

.option-values {
	flex-wrap: wrap;
	gap: 6px;
	display: flex
}

.option-value {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	font: inherit;
	font-size: 12.5px;
	font-weight: var(--font-weight-medium);
	color: var(--text-secondary);
	cursor: pointer;
	padding: 6px 14px;
	transition: border-color .1s, color .1s, background .1s
}

.option-value:hover {
	color: var(--text)
}

.option-value.active {
	border-color: var(--primary);
	background: var(--primary-lt);
	color: var(--primary)
}

.product-quantity-row {
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-bottom: 18px;
	display: flex
}

.qty-label {
	font-size: 11.5px;
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--text-muted)
}

.qty-controls {
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	align-items: center;
	display: inline-flex;
	overflow: hidden
}

.qty-btn {
	width: 32px;
	height: 34px;
	font: inherit;
	color: var(--text);
	cursor: pointer;
	background: 0 0;
	border: none;
	font-size: 16px
}

.qty-btn:hover {
	background: var(--bg-surface-secondary)
}

.qty-controls input {
	text-align: center;
	border: none;
	border-left: 1px solid var(--border-color);
	border-right: 1px solid var(--border-color);
	width: 48px;
	height: 34px;
	font: inherit;
	font-variant-numeric: tabular-nums;
	background: var(--bg-surface);
	color: var(--text);
	outline: none;
	font-size: 13px
}

.qty-controls input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0
}

.qty-controls input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0
}

.stock-indicator {
	color: var(--green);
	font-size: 12px;
	font-weight: var(--font-weight-medium);
	align-items: center;
	gap: 6px;
	display: inline-flex
}

.stock-indicator .dot {
	background: var(--green);
	border-radius: 50%;
	width: 7px;
	height: 7px
}

.product-actions {
	gap: var(--space-2);
	margin-bottom: 18px;
	display: flex
}

.product-actions .btn {
	flex: 1;
	justify-content: center;
	height: 40px
}

.product-perks {
	border-top: 1px solid var(--border-color-light);
	flex-direction: column;
	gap: 6px;
	padding-top: 14px;
	display: flex
}

.product-perks .perk {
	align-items: center;
	gap: var(--space-2);
	color: var(--text-secondary);
	font-size: 12.5px;
	display: flex
}

.product-perks .perk svg {
	color: var(--green)
}

.reviews-summary {
	gap: var(--space-5);
	border-bottom: 1px solid var(--border-color-light);
	grid-template-columns: 180px 1fr;
	align-items: center;
	margin-bottom: 18px;
	padding-bottom: 18px;
	display: grid
}

.reviews-summary .rating-big {
	text-align: center
}

.rating-big .num {
	font-size: 42px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	letter-spacing: -1px;
	line-height: 1
}

.rating-big .stars {
	color: var(--yellow);
	margin: 4px 0 2px
}

.rating-big .meta {
	color: var(--text-muted);
	font-size: 11.5px
}

.rating-bars {
	gap: var(--space-1);
	flex-direction: column;
	display: flex
}

.r-bar {
	gap: var(--space-2);
	color: var(--text-muted);
	grid-template-columns: 28px 1fr 36px;
	align-items: center;
	font-size: 12px;
	display: grid
}

.r-bar .lbl {
	color: var(--yellow);
	font-weight: var(--font-weight-medium)
}

.r-bar .bar {
	background: var(--bg-surface-secondary);
	border-radius: 3px;
	height: 6px;
	overflow: hidden
}

.r-bar .fill {
	height: 100%
}

.r-bar .cnt {
	text-align: right
}

.reviews-list {
	flex-direction: column;
	gap: 18px;
	display: flex
}

.review {
	border-bottom: 1px solid var(--border-color-light);
	padding-bottom: 16px
}

.review:last-child {
	border-bottom: none;
	padding-bottom: 0
}

.review-head {
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 6px;
	display: flex
}

.review-head .stars {
	color: var(--yellow);
	font-size: 13px
}

.review-body {
	color: var(--text-secondary);
	font-size: 13px;
	line-height: 1.5
}

.related-grid {
	gap: var(--space-3);
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	display: grid
}

.related-card {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	padding: 12px;
	text-decoration: none;
	transition: border-color .12s, transform .12s;
	display: block
}

.related-card:hover {
	border-color: var(--primary);
	text-decoration: none;
	transform: translateY(-2px)
}

.related-card .thumb {
	aspect-ratio: 4/3;
	border-radius: var(--radius-sm);
	justify-content: center;
	align-items: center;
	margin-bottom: 8px;
	display: flex
}

.related-card .title {
	font-size: 13px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	margin-bottom: 2px
}

.related-card .meta {
	color: var(--yellow);
	margin-bottom: 4px;
	font-size: 11px
}

.related-card .price {
	font-size: 15px;
	font-weight: var(--font-weight-bold);
	color: var(--text)
}

@media (max-width:900px) {
	.product-detail-grid {
		grid-template-columns: 1fr !important
	}

	.reviews-summary {
		grid-template-columns: 1fr
	}
}

.file-manager {
	padding: 0;
	overflow: hidden
}

.fm-layout {
	grid-template-columns: 240px minmax(0, 1fr);
	height: calc(100vh - 156px);
	min-height: 540px;
	max-height: 800px;
	display: grid
}

.fm-tree-wrap {
	border-right: 1px solid var(--border-color-light);
	flex-direction: column;
	padding: 8px;
	display: flex
}

.fm-tree {
	flex: auto;
	overflow-y: auto
}

.tree-group {
	margin-bottom: 4px
}

.tree-link {
	align-items: center;
	gap: var(--space-2);
	border-radius: var(--radius-sm);
	width: 100%;
	font: inherit;
	color: var(--text-secondary);
	text-align: left;
	cursor: pointer;
	background: 0 0;
	border: none;
	padding: 6px 10px;
	font-size: 13px;
	transition: background .1s, color .1s;
	display: flex
}

.tree-link:hover {
	background: var(--bg-surface-secondary);
	color: var(--text)
}

.tree-link.active {
	background: var(--primary-lt);
	color: var(--primary);
	font-weight: var(--font-weight-medium)
}

.tree-link svg {
	color: var(--text-muted);
	flex-shrink: 0
}

.tree-link.active svg {
	color: var(--primary)
}

.tree-sub {
	padding-left: 24px
}

.tree-sub-sub {
	padding-left: 40px
}

.fm-storage {
	border-top: 1px solid var(--border-color-light);
	margin-top: auto;
	padding: 12px
}

.fm-storage-label {
	font-size: 11px;
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: .4px;
	color: var(--text-muted);
	margin-bottom: 6px
}

.fm-storage .storage-bar {
	background: var(--bg-surface-secondary);
	border-radius: 3px;
	height: 5px;
	display: flex;
	overflow: hidden
}

.fm-storage-meta {
	color: var(--text-muted);
	margin-top: 5px;
	font-size: 11px
}

.fm-main {
	flex-direction: column;
	min-height: 0;
	display: flex
}

.fm-toolbar {
	justify-content: space-between;
	align-items: center;
	gap: var(--space-3);
	border-bottom: 1px solid var(--border-color-light);
	flex-shrink: 0;
	padding: 12px 16px;
	display: flex
}

.fm-breadcrumb {
	align-items: center;
	gap: var(--space-1);
	flex-wrap: wrap;
	display: flex
}

.bc-link {
	font: inherit;
	color: var(--text-muted);
	cursor: pointer;
	border-radius: var(--radius-sm);
	background: 0 0;
	border: none;
	padding: 2px 6px;
	font-size: 13px;
	transition: background .1s, color .1s
}

.bc-link:hover {
	background: var(--bg-surface-secondary);
	color: var(--text)
}

.bc-link.current {
	color: var(--text);
	font-weight: var(--font-weight-medium);
	cursor: default
}

.bc-link.current:hover {
	background: 0 0
}

.fm-toolbar-actions {
	align-items: center;
	gap: var(--space-2);
	display: flex
}

.fm-view-toggle {
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	display: inline-flex;
	overflow: hidden
}

.view-btn {
	background: var(--bg-surface);
	cursor: pointer;
	width: 32px;
	height: 32px;
	color: var(--text-muted);
	border: none;
	justify-content: center;
	align-items: center;
	transition: background .1s, color .1s;
	display: flex
}

.view-btn:hover {
	background: var(--bg-surface-secondary);
	color: var(--text)
}

.view-btn.active {
	background: var(--primary-lt);
	color: var(--primary)
}

.fm-grid {
	flex: auto;
	padding: 16px;
	overflow-y: auto
}

.fm-grid.view-grid {
	align-content: start;
	gap: var(--space-3);
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	grid-auto-rows: max-content;
	display: grid
}

.fm-grid.view-list {
	gap: var(--space-1);
	flex-direction: column;
	display: flex
}

.fm-item {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	cursor: pointer;
	font: inherit;
	text-align: left;
	transition: border-color .12s, transform .12s, box-shadow .12s;
	position: relative
}

.fm-grid.view-grid .fm-item {
	align-items: flex-start;
	gap: var(--space-2);
	flex-direction: column;
	padding: 14px 12px;
	display: flex
}

.fm-grid.view-list .fm-item {
	gap: var(--space-3);
	grid-template-columns: 36px 1fr auto auto auto;
	align-items: center;
	padding: 8px 12px;
	display: grid
}

.fm-grid.view-list .fm-item .fm-item-icon {
	width: 36px;
	height: 36px
}

.fm-grid.view-list .fm-item .fm-item-meta {
	white-space: nowrap;
	font-size: 11.5px
}

.fm-item:hover {
	border-color: var(--primary);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px #0f172a0f
}

.fm-item-icon {
	aspect-ratio: 4/3;
	border-radius: var(--radius);
	background: var(--bg-surface-secondary);
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	width: 100%;
	display: flex
}

.fm-grid.view-grid .fm-item-icon {
	width: 100%
}

.fm-item-icon .ext {
	font-size: 12px;
	font-weight: var(--font-weight-bold);
	letter-spacing: .5px
}

.fm-item-name {
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	color: var(--text);
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
	overflow: hidden
}

.fm-item-meta {
	color: var(--text-muted);
	font-size: 11.5px
}

.fm-star {
	cursor: pointer;
	width: 22px;
	height: 22px;
	color: var(--text-disabled);
	opacity: 0;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	transition: opacity .1s, color .1s, background .1s;
	display: flex;
	position: absolute;
	top: 6px;
	right: 6px
}

.fm-grid.view-list .fm-star {
	opacity: 1;
	position: static
}

.fm-item:hover .fm-star,
.fm-item.starred .fm-star {
	opacity: 1
}

.fm-star.on {
	color: var(--yellow)
}

.fm-star:hover {
	background: var(--bg-surface-secondary);
	color: var(--yellow)
}

.fm-item-menu {
	cursor: pointer;
	width: 22px;
	height: 22px;
	color: var(--text-muted);
	opacity: 0;
	background: 0 0;
	border: none;
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	transition: opacity .1s, background .1s;
	display: flex;
	position: absolute;
	bottom: 6px;
	right: 6px
}

.fm-grid.view-list .fm-item-menu {
	opacity: 1;
	position: static
}

.fm-item:hover .fm-item-menu {
	opacity: 1
}

.fm-item-menu:hover {
	background: var(--bg-surface-secondary);
	color: var(--text)
}

.fm-empty {
	text-align: center;
	color: var(--text-muted);
	padding: 60px 20px
}

.fm-empty svg {
	color: var(--text-disabled);
	margin-bottom: 12px
}

.fm-empty .empty-title {
	font-size: 14px;
	font-weight: var(--font-weight-bold);
	color: var(--text);
	margin-bottom: 4px
}

.fm-empty .empty-desc {
	font-size: 12.5px
}

.upload-zone {
	text-align: center;
	border: 2px dashed var(--border-color);
	border-radius: var(--radius-lg);
	color: var(--text-muted);
	background: var(--bg-surface-secondary);
	padding: 32px
}

.upload-zone svg {
	color: var(--text-muted);
	margin-bottom: 12px
}

.upload-zone .upload-title {
	font-size: 14px;
	font-weight: var(--font-weight-medium);
	color: var(--text);
	margin-bottom: 4px
}

.upload-zone .upload-meta {
	font-size: 11.5px
}

@media (max-width:768px) {
	.fm-layout {
		grid-template-columns: 1fr
	}

	.fm-tree-wrap {
		display: none
	}
}

.kanban-page {
	max-width: none !important;
	padding-bottom: 24px !important
}

.kanban-board {
	gap: var(--space-4);
	grid-template-columns: repeat(4, minmax(260px, 1fr));
	align-items: flex-start;
	display: grid
}

@media (max-width:1100px) {
	.kanban-board {
		grid-template-columns: repeat(4, minmax(260px, 320px));
		padding-bottom: 8px;
		overflow-x: auto
	}
}

.kanban-column {
	background: var(--bg-surface-secondary);
	border-radius: var(--radius-lg);
	gap: var(--space-2);
	flex-direction: column;
	min-height: 200px;
	padding: 8px;
	display: flex
}

.kanban-column-head {
	align-items: center;
	gap: var(--space-2);
	padding: 6px 8px;
	display: flex
}

.kanban-column-head .dot {
	border-radius: 50%;
	flex-shrink: 0;
	width: 8px;
	height: 8px
}

.kanban-column-head .title {
	font-size: 13px;
	font-weight: var(--font-weight-bold);
	color: var(--text)
}

.kanban-column-head .count {
	color: var(--text-muted);
	background: var(--bg-surface);
	font-size: 11px;
	font-weight: var(--font-weight-medium);
	border-radius: 10px;
	padding: 1px 8px
}

.kanban-add {
	border-radius: var(--radius-sm);
	width: 22px;
	height: 22px;
	font: inherit;
	color: var(--text-muted);
	cursor: pointer;
	background: 0 0;
	border: none;
	justify-content: center;
	align-items: center;
	margin-left: auto;
	font-size: 16px;
	line-height: 1;
	display: flex
}

.kanban-add:hover {
	background: var(--bg-surface);
	color: var(--text)
}

.kanban-column-body {
	gap: var(--space-2);
	border-radius: var(--radius);
	flex-direction: column;
	min-height: 40px;
	padding: 4px 0;
	transition: background .1s;
	display: flex
}

.kanban-column-body.drop-target {
	background: var(--primary-lt);
	outline: 2px dashed var(--primary);
	outline-offset: -4px
}

.kanban-column-foot {
	border-radius: var(--radius-sm);
	font: inherit;
	color: var(--text-muted);
	cursor: pointer;
	text-align: left;
	background: 0 0;
	border: none;
	padding: 8px;
	font-size: 12.5px;
	transition: background .1s, color .1s
}

.kanban-column-foot:hover {
	background: var(--bg-surface);
	color: var(--text)
}

.kanban-card {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	border-radius: var(--radius);
	cursor: grab;
	-webkit-user-select: none;
	user-select: none;
	padding: 12px;
	transition: border-color .12s, box-shadow .12s, transform .12s, opacity .12s
}

.kanban-card:hover {
	border-color: var(--primary);
	box-shadow: 0 2px 8px #0f172a0f
}

.kanban-card.dragging {
	opacity: .5;
	cursor: grabbing;
	transform: rotate(1deg)
}

.kanban-card-labels {
	gap: var(--space-1);
	flex-wrap: wrap;
	margin-bottom: 8px;
	display: flex
}

.kanban-label {
	font-size: 10px;
	font-weight: var(--font-weight-bold);
	background: var(--primary-lt);
	color: var(--primary);
	text-transform: uppercase;
	letter-spacing: .3px;
	border-radius: 3px;
	padding: 1px 6px
}

.kanban-label-purple {
	background: var(--purple-lt);
	color: var(--purple)
}

.kanban-label-blue {
	background: var(--blue-lt);
	color: var(--blue)
}

.kanban-label-green {
	background: var(--green-lt);
	color: var(--green)
}

.kanban-label-red {
	background: var(--red-lt);
	color: var(--red)
}

.kanban-label-yellow {
	background: var(--yellow-lt);
	color: #b45309
}

.kanban-card-title {
	font-size: 13px;
	font-weight: var(--font-weight-medium);
	color: var(--text);
	margin-bottom: 4px;
	line-height: 1.4
}

.kanban-card-desc {
	color: var(--text-muted);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	margin-bottom: 8px;
	font-size: 12px;
	line-height: 1.45;
	display: -webkit-box;
	overflow: hidden
}

.kanban-card-foot {
	justify-content: space-between;
	align-items: center;
	gap: var(--space-2);
	display: flex
}

.kanban-card-meta {
	align-items: center;
	gap: var(--space-1);
	color: var(--text-muted);
	font-size: 11px;
	display: flex
}

.kanban-card-meta .due-date {
	font-weight: var(--font-weight-medium)
}

.kanban-card-avatars {
	align-items: center;
	display: flex
}

.kanban-avatar {
	background: var(--primary);
	color: #fff;
	width: 22px;
	height: 22px;
	font-size: 9.5px;
	font-weight: var(--font-weight-bold);
	border: 2px solid var(--bg-surface);
	border-radius: 50%;
	flex-shrink: 0;
	justify-content: center;
	align-items: center;
	display: inline-flex
}

.kanban-avatar+.kanban-avatar {
	margin-left: -6px
}

.kanban-chip-group {
	flex-wrap: wrap;
	gap: 6px;
	padding: 4px 0;
	display: flex
}

.kanban-assignee-chip {
	background: var(--bg-surface);
	border: 1px solid var(--border-color);
	cursor: pointer;
	font: inherit;
	color: var(--text-secondary);
	border-radius: 14px;
	align-items: center;
	gap: 6px;
	padding: 3px 8px 3px 3px;
	font-size: 12px;
	transition: border-color .1s, background .1s, color .1s;
	display: inline-flex
}

.kanban-assignee-chip:hover {
	color: var(--text)
}

.kanban-assignee-chip.active {
	background: var(--primary-lt);
	border-color: var(--primary);
	color: var(--primary);
	font-weight: var(--font-weight-medium)
}

.kanban-assignee-chip .av {
	color: #fff;
	width: 22px;
	height: 22px;
	font-size: 9.5px;
	font-weight: var(--font-weight-bold);
	border-radius: 50%;
	justify-content: center;
	align-items: center;
	display: inline-flex
}

.notif-icon{
	background-size: 14px;
	background-position: center;
	background-repeat: no-repeat;
}
.notif-icon.no-power {
	background-color: var(--red-lt);
	background-image: url("/dashboard/img/icons/no-power.svg"), url("/img/icons/no-power.svg");
}
.notif-icon.no-extinguisher {
	background-color: var(--red-lt);
	background-image: url("/dashboard/img/icons/no-extinguisher.svg"), url("/img/icons/no-extinguisher.svg");
}
.notif-icon.extinguisher-low1 {
	background-color: var(--yellow-lt);
	background-image: url("/dashboard/img/icons/extinguisher-low1.svg"), url("/img/icons/extinguisher-low1.svg");
}
.notif-icon.extinguisher-low2 {
	background-color: var(--red-lt);
	background-image: url("/dashboard/img/icons/extinguisher-low2.svg"), url("/img/icons/extinguisher-low2.svg");
}
.notif-icon.date-pending {
	background-color: var(--yellow-lt);
	background-image: url("/dashboard/img/icons/date-pending.svg"), url("/img/icons/date-pending.svg");
}
.notif-icon.date-expired {
	background-color: var(--red-lt);
	background-image: url("/dashboard/img/icons/date-expired.svg"), url("/img/icons/date-expired.svg");
}
.notif-icon.alert-sign {
	background-size: 6px;
	background-color: var(--red-lt);
	background-image: url("/dashboard/img/icons/alert-sign.svg"), url("/img/icons/alert-sign.svg");
}
.notif-icon.alert-sign-green {
	background-size: 6px;
	background-color: var(--green-lt);
	background-image: url("/dashboard/img/icons/alert-sign.svg"), url("/img/icons/alert-sign.svg");
}

chart-test1{
	max-height: calc(100vh - 56px);
	/* возволяет уменьшать размер канваса графика */
	overflow: hidden;
}

chart-test1 > canvas-container{
	width: 100%;
	display: block;
	overflow: hidden;
	max-height: 100vh;
	margin-bottom: 20px !important;
	/* min-height: calc(100vh - 56px); */
}

icon {
	width: 32px;
	height: 32px;

	display: block;
    background-size: contain;
}

icon.fe_h2o, .icon-fe_h2o{
	background-repeat: no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 96'%3E%3Cpath fill='%23002040' d='M49 93q0 3-3 3H16q-3 0-3-3V38q0-12 14-14V21q0-2-2-2C13 19 4 25 4 37c0 9 3 16 3 34q2 0 2 2V86H1V73q0-2 2-2c0-15-3-23-3-34 0-13 11-22 25-22q0-4 6-7 8-4 20-6 1 0 1 1c0 1-16 5-16 8 0 2 1 2 3 2 7 0 11 1 16 5 1 1 0 2-2 1-5-4-11-4-16-4q-2 0-2 6v3q14 2 14 14Zm-3 2q2 0 2-2V38q0-11-14-13-3 0-6 0-14 2-14 13V93q0 2 2 2Z' /%3E%3Cpath fill='%230080FF' d='M31 41 41 64c3 7-2 17-10 17S18 71 21 64Z'/%3E%3C/svg%3E");}
icon.fe_co2, .icon-fe_co2{
	background-repeat: no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 96'%3E%3Cpath fill='%23303030' d='M49 93q0 3-3 3H16q-3 0-3-3V38q0-12 14-14V21q0-2-2-2C14 19 7 27 7 37H8L9 70H0L3 37H3 4C4 24 14 16 25 16Q25 11 31 8q8-4 20-6 1 0 1 1c0 1-16 5-16 8 0 2 1 2 3 2 7 0 11 1 16 5 1 1 0 2-2 1-5-4-11-4-16-4q-2 0-2 6v3q14 2 14 14Z' /%3E%3Cpath fill='white' d='M46 95q2 0 2-2V38q0-11-14-13-3 0-6 0-14 2-14 13V93q0 2 2 2Z'/%3E%3Cpath fill='%23000000' d='M26 49C20 44 15 49 15 59 15 70 21 74 26 68L24 64C22 67 19 67 19 59 19 52 22 51 24 53ZM33 47C24 47 24 71 33 71 42 71 42 47 33 47M33 66C29 66 29 52 33 52 37 52 37 66 33 66M42 64 40 63C42 58 47 58 47 64 47 67 45 68 43 71H47V73H40V71C42 68 45 66 45 64 45 61 43 61 42 64'/%3E%3C/svg%3E");
}
icon.fe_unknown, .icon-fe_unknown{
	background-repeat: no-repeat;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 96'%3E%3Cpath fill='%23' d='M16 95q-2 0-2-2V38q0-11 14-13 3 0 6 0 14 2 14 13V93q0 2-2 2ZM49 38q0-12-14-14V21q0-6 2-6c5 0 11 0 16 4 2 1 3 0 2-1-5-4-9-5-16-5-2 0-3 0-3-2 0-3 16-7 16-8q0-1-1-1Q39 4 31 8q-6 3-6 8C14 16 4 24 4 37H3L0 70H9L8 37H7c0-10 7-18 18-18q2 0 2 2v3Q13 26 13 38V93q0 3 3 3H46q3 0 3-3Z'/%3E%3Cpath fill='red' d='M30 77c0 2 3 2 3 0s-3-2-3 0M23 55c1 2 3 1 2-1-1-3 1-7 6-7s6 5 4 7c-5 4-5 9-5 16 0 2 3 2 3 0 0-5-1-9 5-15 3-5-1-11-7-11s-11 6-8 11'/%3E%3C/svg%3E");
}

td.wide-column{
	width: 100%; 
}
.buttons{
	display: flex;
	column-gap: 6px;
}
.wrap-text{
	white-space: pre-line;
}

.image-thumbnails{
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.image-thumbnails > *{
	height: 140px;
}
.image-thumbnail{
	display: block;
    overflow: hidden;
	border-radius: 8px;
    outline: none;
}
.image-thumbnail > img{
	width: 100%;
    height: 100%;
    object-fit: cover;
}