:root {
	--qm-bg: #edf1f6;
	--qm-app-bg: #eef2f7;
	--qm-surface: #ffffff;
	--qm-surface-muted: #f7f9fc;
	--qm-surface-soft: #f3f6fb;
	--qm-border: #d9e1ea;
	--qm-border-strong: #c8d1dc;
	--qm-text: #252d36;
	--qm-text-muted: #667381;
	--qm-text-subtle: #8a95a3;
	--qm-primary: #13b483;
	--qm-primary-deep: #0f9d74;
	--qm-primary-soft: #e8f9f3;
	--qm-success: #3f7cff;
	--qm-success-soft: #eef4ff;
	--qm-warning: #d48321;
	--qm-warning-soft: #fff4e6;
	--qm-danger: #cf4f4f;
	--qm-danger-soft: #fff1f1;
	--qm-shadow-sm: 0 3px 10px rgba(33, 42, 51, 0.05);
	--qm-shadow-md: 0 10px 28px rgba(33, 42, 51, 0.08);
	--qm-shadow-lg: 0 18px 38px rgba(33, 42, 51, 0.1);
	--qm-radius-sm: 10px;
	--qm-radius-md: 14px;
	--qm-radius-lg: 16px;
	--qm-radius-pill: 999px;
	--qm-transition: 0.2s ease;
}

* {
	box-sizing: border-box;
}

html {
	background: var(--qm-bg);
	overflow-x: hidden;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: var(--qm-bg);
	color: var(--qm-text);
	overflow-x: hidden;
}

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

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

code {
	word-break: break-all;
}

.qm-auth-icon {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.qm-auth-app-body {
	background: var(--qm-app-bg);
}

.qm-auth-admin {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	min-height: 100vh;
	width: 100%;
	max-width: 100%;
	border-top: 4px solid #56bcc7;
}

.qm-auth-sidebar {
	display: flex;
	flex-direction: column;
	padding: 20px 20px 24px;
	background: #ffffff;
	border-right: 1px solid #dfe5ed;
}

.qm-auth-sidebar__brand {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	min-height: 66px;
	padding: 4px 6px 20px;
	border-bottom: 1px solid #edf1f5;
}

.qm-auth-sidebar__mark {
	position: relative;
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
}

.qm-auth-sidebar__mark span {
	position: absolute;
	bottom: 0;
	display: block;
	background: linear-gradient(180deg, #15c298, #0f9d74);
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.qm-auth-sidebar__mark span:nth-child(1) {
	left: 0;
	width: 18px;
	height: 26px;
}

.qm-auth-sidebar__mark span:nth-child(2) {
	left: 11px;
	width: 13px;
	height: 32px;
	opacity: 0.9;
}

.qm-auth-sidebar__mark span:nth-child(3) {
	right: 0;
	width: 9px;
	height: 17px;
	opacity: 0.64;
}

.qm-auth-sidebar__text {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	color: #2a2f35;
}

.qm-auth-sidebar__nav {
	display: grid;
	gap: 8px;
	padding: 26px 0 0;
}

.qm-auth-sidebar__link {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 52px;
	padding: 0 18px;
	border-radius: var(--qm-radius-pill);
	color: #434c57;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	transition: background var(--qm-transition), color var(--qm-transition);
}

.qm-auth-sidebar__link:hover {
	background: #f3f7fb;
}

.qm-auth-sidebar__link.is-active {
	background: linear-gradient(135deg, rgba(19, 180, 131, 0.1), rgba(19, 180, 131, 0.03));
	color: var(--qm-primary-deep);
}

.qm-auth-sidebar__link.is-open {
	background: transparent;
}

.qm-auth-sidebar__link.is-open.has-children::after {
	transform: rotate(225deg) translateY(-1px);
	border-color: var(--qm-primary-deep);
}

.qm-auth-sidebar__link.has-children::after {
	content: "";
	margin-left: auto;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid #98a3af;
	border-bottom: 1.5px solid #98a3af;
	transform: rotate(45deg) translateY(-1px);
}

.qm-auth-sidebar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	color: currentColor;
}

.qm-auth-sidebar__subnav {
	display: grid;
	gap: 10px;
	margin: -2px 0 8px;
	padding-left: 0;
}

.qm-auth-sidebar__sublink {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	min-height: 56px;
	padding: 0 24px;
	border-radius: 28px;
	background: #ffffff;
	color: #46515d;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

.qm-auth-sidebar__sublink.is-active {
	background: linear-gradient(135deg, rgba(19, 180, 131, 0.16), rgba(19, 180, 131, 0.08));
	color: var(--qm-primary-deep);
}

.qm-auth-sidebar__subdot {
	width: 8px;
	height: 8px;
	flex: 0 0 8px;
	border-radius: 50%;
	background: currentColor;
}

.qm-auth-sidebar__foot {
	margin-top: auto;
	padding: 18px 18px 6px;
	border-top: 1px solid #ecf0f5;
	display: none;
}

.qm-auth-sidebar__foot span {
	font-size: 12px;
	line-height: 1.5;
	color: var(--qm-text-subtle);
}

.qm-auth-sidebar__foot strong {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--qm-text);
}

.qm-auth-workspace {
	display: flex;
	flex-direction: column;
	min-width: 0;
	max-width: 100%;
}

.qm-auth-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-width: 0;
	min-height: 88px;
	padding: 0 32px;
	background: #ffffff;
	border-bottom: 1px solid #dde5ee;
}

.qm-auth-topbar__title {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.qm-auth-topbar__title h1 {
	margin: 0;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.4;
	color: #2a3138;
}

.qm-auth-topbar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: #2a3138;
}

.qm-auth-topbar__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 14px;
	min-width: 0;
	max-width: 100%;
}

.qm-auth-topbar__profile,
.qm-auth-topbar__pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 42px;
	padding: 0 18px;
	border-radius: var(--qm-radius-pill);
	background: #f6f7fb;
	color: #2f3740;
	font-size: 14px;
	line-height: 1.5;
}

.qm-auth-topbar__profile {
	background: transparent;
	padding: 0;
}

.qm-auth-topbar__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid #d7dfe9;
	background: #ffffff;
}

.qm-auth-topbar__divider {
	width: 1px;
	height: 28px;
	background: #e5e8ef;
}

.qm-auth-topbar__pill .qm-auth-icon,
.qm-auth-topbar__avatar .qm-auth-icon {
	width: 18px;
	height: 18px;
}

.qm-auth-main {
	display: grid;
	gap: 20px;
	min-width: 0;
}

.qm-auth-main--app {
	padding: 28px 24px 24px;
	overflow-x: hidden;
}

.qm-auth-app-footer {
	padding: 18px 24px 26px;
	text-align: center;
	font-size: 13px;
	line-height: 1.5;
	color: #9ba4b0;
}

.qm-auth-kpi-strip {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 0;
	padding: 12px 10px;
	border-radius: var(--qm-radius-lg);
	background:
		radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.14), transparent 20%),
		radial-gradient(circle at 20% 120%, rgba(255, 255, 255, 0.08), transparent 20%),
		linear-gradient(135deg, #10a97f, #26c391);
	box-shadow: var(--qm-shadow-md);
}

.qm-auth-kpi {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 14px 18px;
	border-right: 1px solid rgba(255, 255, 255, 0.14);
	color: #ffffff;
}

.qm-auth-kpi:last-child {
	border-right: 0;
}

.qm-auth-kpi__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.88);
}

.qm-auth-kpi__icon .qm-auth-icon {
	width: 34px;
	height: 34px;
}

.qm-auth-kpi__body {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.qm-auth-kpi__body span {
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82);
}

.qm-auth-kpi__body strong {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
	color: #ffffff;
}

.qm-auth-kpi__body small {
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.68);
}

.qm-auth-surface,
.qm-auth-card,
.qm-auth-panel,
.qm-auth-stat,
.qm-auth-check,
.qm-auth-page-head {
	border: 1px solid #dde4ec;
	border-radius: var(--qm-radius-lg);
	background: var(--qm-surface);
	box-shadow: 0 6px 18px rgba(33, 42, 51, 0.04);
	min-width: 0;
}

.qm-auth-surface,
.qm-auth-card,
.qm-auth-page-head {
	padding: 22px 24px;
}

.qm-auth-panel,
.qm-auth-stat,
.qm-auth-check {
	padding: 18px 20px;
}

.qm-auth-surface__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.qm-auth-surface__head h2,
.qm-auth-card-head h2,
.qm-auth-panel h3,
.qm-auth-page-head h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--qm-text);
}

.qm-auth-surface__head p,
.qm-auth-card-head p,
.qm-auth-panel p,
.qm-auth-page-head p,
.qm-auth-check span,
.qm-auth-stat span,
.qm-auth-empty,
.qm-auth-note {
	margin: 6px 0 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--qm-text-muted);
}

.qm-auth-card-head {
	display: grid;
	gap: 8px;
	margin-bottom: 18px;
}

.qm-auth-range {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.qm-auth-range__pill,
.qm-auth-range__date {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 16px;
	border-radius: 8px;
	border: 1px solid #d9e1ea;
	background: #ffffff;
	color: #7b8590;
	font-size: 14px;
	line-height: 1.5;
}

.qm-auth-range__pill.is-active {
	border-color: var(--qm-primary-deep);
	background: var(--qm-primary-deep);
	color: #ffffff;
}

.qm-auth-chart {
	width: 100%;
	min-height: 320px;
}

.qm-auth-chart svg {
	display: block;
	width: 100%;
	height: 320px;
}

.qm-auth-chart__grid {
	stroke: #e8edf3;
	stroke-width: 1;
}

.qm-auth-chart__axis,
.qm-auth-chart__label {
	fill: #8a95a3;
	font-size: 12px;
	line-height: 1;
}

.qm-auth-chart__axis {
	text-anchor: end;
}

.qm-auth-chart__label {
	text-anchor: middle;
}

.qm-auth-chart__area {
	fill: url(#qm-auth-chart-fill);
}

.qm-auth-chart__line {
	fill: none;
	stroke: #17bb86;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.qm-auth-chart__dot {
	fill: #17bb86;
	stroke: #17bb86;
}

.qm-auth-grid,
.qm-auth-form-grid,
.qm-auth-stat-grid,
.qm-auth-detail-grid,
.qm-auth-layout {
	display: grid;
	gap: 16px;
}

.qm-auth-grid,
.qm-auth-form-grid,
.qm-auth-detail-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qm-auth-stat-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.qm-auth-layout {
	grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.95fr);
	align-items: start;
}

.qm-auth-page-head {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.9fr);
	gap: 20px;
	align-items: start;
	background:
		linear-gradient(135deg, rgba(19, 180, 131, 0.04), rgba(255, 255, 255, 0.98)),
		var(--qm-surface);
}

.qm-auth-page-head__content {
	display: grid;
	gap: 12px;
}

.qm-auth-page-head__meta {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	padding: 16px 18px;
	border: 1px solid var(--qm-border);
	border-radius: 12px;
	background: var(--qm-surface-soft);
}

.qm-auth-page-head__meta span {
	font-size: 13px;
	line-height: 1.5;
	color: var(--qm-text-subtle);
}

.qm-auth-page-head__meta strong,
.qm-auth-page-head__meta code {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.55;
	color: var(--qm-text);
}

.qm-auth-form,
.qm-auth-list,
.qm-auth-key-list {
	display: grid;
	gap: 14px;
}

.qm-auth-form label {
	display: grid;
	gap: 8px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--qm-text-muted);
}

.qm-auth-form label.is-full {
	grid-column: 1 / -1;
}

.qm-auth-form input,
.qm-auth-form select,
.qm-auth-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 11px 14px;
	border: 1px solid var(--qm-border);
	border-radius: var(--qm-radius-sm);
	background: var(--qm-surface);
	color: var(--qm-text);
	outline: none;
	transition:
		border-color var(--qm-transition),
		box-shadow var(--qm-transition),
		background var(--qm-transition);
}

.qm-auth-form textarea {
	min-height: 112px;
	resize: vertical;
}

.qm-auth-form input:focus,
.qm-auth-form select:focus,
.qm-auth-form textarea:focus {
	border-color: rgba(19, 180, 131, 0.55);
	box-shadow: 0 0 0 4px rgba(19, 180, 131, 0.1);
}

textarea[readonly] {
	background: var(--qm-surface-soft);
}

.qm-auth-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.qm-auth-button,
.qm-auth-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 10px 16px;
	border: 1px solid var(--qm-border);
	border-radius: var(--qm-radius-pill);
	background: var(--qm-surface);
	color: var(--qm-text);
	font-size: 14px;
	line-height: 1.5;
	cursor: pointer;
	transition:
		border-color var(--qm-transition),
		background var(--qm-transition),
		color var(--qm-transition),
		transform var(--qm-transition),
		box-shadow var(--qm-transition);
}

.qm-auth-button:hover,
.qm-auth-tag:hover {
	border-color: var(--qm-border-strong);
	transform: translateY(-1px);
	box-shadow: var(--qm-shadow-sm);
}

.qm-auth-button.is-primary {
	border-color: var(--qm-primary-deep);
	background: var(--qm-primary-deep);
	color: #ffffff;
}

.qm-auth-button.is-small {
	min-height: 34px;
	padding: 7px 12px;
	font-size: 13px;
}

.qm-auth-notice {
	padding: 14px 16px;
	border: 1px solid transparent;
	border-radius: var(--qm-radius-sm);
	font-size: 14px;
	line-height: 1.55;
}

.qm-auth-notice.is-success,
.qm-auth-check.is-pass {
	border-color: rgba(19, 180, 131, 0.14);
	background: var(--qm-primary-soft);
	color: var(--qm-primary-deep);
}

.qm-auth-notice.is-error,
.qm-auth-check.is-fail {
	border-color: rgba(207, 79, 79, 0.14);
	background: var(--qm-danger-soft);
	color: var(--qm-danger);
}

.qm-auth-stat {
	display: grid;
	gap: 6px;
	min-height: 124px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.98));
}

.qm-auth-stat strong {
	font-size: 28px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--qm-text);
}

.qm-auth-stat small {
	font-size: 13px;
	line-height: 1.5;
	color: var(--qm-text-subtle);
}

.qm-auth-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 5px 10px;
	border-radius: 8px;
	font-size: 12px;
	line-height: 1.5;
	font-weight: 500;
	white-space: nowrap;
}

.qm-auth-badge.is-success {
	background: var(--qm-success-soft);
	color: var(--qm-success);
}

.qm-auth-badge.is-muted {
	background: #eef2f7;
	color: var(--qm-text-muted);
}

.qm-auth-badge.is-warning {
	background: var(--qm-warning-soft);
	color: var(--qm-warning);
}

.qm-auth-badge.is-danger {
	background: var(--qm-danger-soft);
	color: var(--qm-danger);
}

.qm-auth-badge.is-info {
	background: var(--qm-primary-soft);
	color: var(--qm-primary-deep);
}

.qm-auth-table-wrap {
	overflow-x: auto;
	max-width: 100%;
	min-width: 0;
}

.qm-auth-table {
	width: 100%;
	min-width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.qm-auth-table th,
.qm-auth-table td {
	padding: 15px 14px;
	border-bottom: 1px solid #e7edf4;
	text-align: left;
	vertical-align: top;
	font-size: 14px;
	line-height: 1.55;
	color: var(--qm-text);
}

.qm-auth-table th {
	padding-top: 14px;
	padding-bottom: 14px;
	background: #f1f5fa;
	font-size: 13px;
	font-weight: 500;
	color: #6a7785;
}

.qm-auth-table th:first-child {
	border-top-left-radius: 8px;
}

.qm-auth-table th:last-child {
	border-top-right-radius: 8px;
}

.qm-auth-table td strong {
	display: block;
	font-size: 14px;
	font-weight: 500;
}

.qm-auth-table td small {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--qm-text-subtle);
}

.qm-auth-table-wrap--licenses {
	position: relative;
	overflow-x: auto;
	overflow-y: visible;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.qm-auth-table--licenses {
	width: max(100%, 1580px);
	min-width: 0;
}

.qm-auth-license-console {
	padding: 28px 28px 18px;
	min-width: 0;
	overflow: hidden;
}

.qm-auth-customer-console {
	padding-top: 30px;
}

.qm-auth-license-console__header,
.qm-auth-license-footer,
.qm-auth-license-console__tools,
.qm-auth-license-footer__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.qm-auth-license-console__title {
	display: grid;
	gap: 0;
}

.qm-auth-license-console__title h2 {
	position: relative;
	padding-left: 18px;
}

.qm-auth-license-console__title h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 5px;
	height: 24px;
	border-radius: 999px;
	background: #0fb189;
	transform: translateY(-50%);
}

.qm-auth-license-toolbar {
	display: grid;
	grid-template-areas: "create filters refresh";
	grid-template-columns: 118px minmax(0, 1fr) 42px;
	align-items: center;
	gap: 18px;
	margin: 22px 0 22px;
	min-width: 0;
}

.qm-auth-license-toolbar__create {
	grid-area: create;
	min-height: 38px;
	padding: 0 18px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 500;
	box-shadow: none;
	white-space: nowrap;
}

.qm-auth-license-toolbar__create:hover {
	transform: none;
	box-shadow: none;
}

.qm-auth-license-console__refresh {
	grid-area: refresh;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid #d8efeb;
	border-radius: 50%;
	background: #e9faf5;
	color: #3ab699;
}

.qm-auth-license-filters {
	display: grid;
	grid-area: filters;
	grid-template-columns: minmax(0, 176px) minmax(0, 176px) minmax(0, 124px) minmax(220px, 1fr);
	gap: 10px;
	margin: 0;
	min-width: 0;
	width: 100%;
}

.qm-auth-customer-toolbar {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	align-items: center;
	gap: 18px;
	margin: 22px 0 24px;
	min-width: 0;
}

.qm-auth-customer-filters {
	display: grid;
	grid-template-columns: 136px 136px 136px minmax(300px, 1fr);
	gap: 10px;
	margin: 0;
	min-width: 0;
	width: 100%;
}

.qm-auth-customer-filters select {
	width: 100%;
	min-height: 40px;
	padding: 9px 14px;
	border: 1px solid #d8e0ea;
	border-radius: 10px;
	background: #ffffff;
	color: #a0aab6;
	font-size: 14px;
	line-height: 1.5;
	outline: none;
}

.qm-auth-license-filters select,
.qm-auth-license-search input,
.qm-auth-license-per-page select {
	width: 100%;
	min-height: 40px;
	padding: 9px 14px;
	border: 1px solid #d8e0ea;
	border-radius: 10px;
	background: #ffffff;
	color: #a0aab6;
	font-size: 14px;
	line-height: 1.5;
	outline: none;
}

.qm-auth-license-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 58px;
}

.qm-auth-license-search input {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.qm-auth-license-search__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
	background: #0faa84;
	color: #ffffff;
	cursor: pointer;
}

.qm-auth-table--licenses thead th {
	padding-top: 16px;
	padding-bottom: 16px;
	background: #dff1ef;
	color: #6d767f;
	font-size: 13px;
	font-weight: 500;
}

.qm-auth-table--licenses tbody tr:nth-child(even) td {
	background: #f7f9fc;
}

.qm-auth-table--licenses th:nth-child(1),
.qm-auth-table--licenses td:nth-child(1) {
	min-width: 260px;
}

.qm-auth-table--licenses th:nth-child(2),
.qm-auth-table--licenses td:nth-child(2),
.qm-auth-table--licenses th:nth-child(3),
.qm-auth-table--licenses td:nth-child(3) {
	min-width: 180px;
}

.qm-auth-table--licenses th:nth-child(4),
.qm-auth-table--licenses td:nth-child(4) {
	min-width: 100px;
}

.qm-auth-table--licenses th:nth-child(5),
.qm-auth-table--licenses td:nth-child(5) {
	min-width: 190px;
}

.qm-auth-table--licenses th:nth-child(6),
.qm-auth-table--licenses td:nth-child(6),
.qm-auth-table--licenses th:nth-child(7),
.qm-auth-table--licenses td:nth-child(7) {
	min-width: 170px;
}

.qm-auth-table--licenses th:nth-child(9),
.qm-auth-table--licenses td:nth-child(9) {
	min-width: 100px;
}

.qm-auth-table--licenses .qm-auth-table__cell--actions {
	position: sticky;
	right: 0;
	z-index: 2;
	min-width: 210px;
	background: #ffffff;
	box-shadow: -12px 0 18px rgba(33, 42, 51, 0.04);
}

.qm-auth-table--licenses thead .qm-auth-table__cell--actions {
	z-index: 3;
	background: #dff1ef;
}

.qm-auth-table--licenses tbody tr:nth-child(even) .qm-auth-table__cell--actions {
	background: #f6f9fd;
}

.qm-auth-table--licenses td {
	padding-top: 16px;
	padding-bottom: 16px;
	vertical-align: middle;
}

.qm-auth-table-wrap--customers {
	position: relative;
	overflow-x: auto;
	overflow-y: visible;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.qm-auth-table--customers {
	width: max(100%, 1400px);
	min-width: 0;
}

.qm-auth-table--customers thead th {
	padding-top: 16px;
	padding-bottom: 16px;
	background: #dff1ef;
	color: #6d767f;
	font-size: 13px;
	font-weight: 500;
}

.qm-auth-table--customers tbody tr:nth-child(even) td {
	background: #f7f9fc;
}

.qm-auth-table--customers td {
	padding-top: 16px;
	padding-bottom: 16px;
	vertical-align: middle;
}

.qm-auth-table--customers th:nth-child(1),
.qm-auth-table--customers td:nth-child(1) {
	min-width: 240px;
}

.qm-auth-table--customers th:nth-child(2),
.qm-auth-table--customers td:nth-child(2) {
	min-width: 170px;
}

.qm-auth-table--customers th:nth-child(3),
.qm-auth-table--customers td:nth-child(3),
.qm-auth-table--customers th:nth-child(4),
.qm-auth-table--customers td:nth-child(4) {
	min-width: 150px;
}

.qm-auth-table--customers th:nth-child(5),
.qm-auth-table--customers td:nth-child(5) {
	min-width: 180px;
}

.qm-auth-table--customers th:nth-child(6),
.qm-auth-table--customers td:nth-child(6),
.qm-auth-table--customers th:nth-child(7),
.qm-auth-table--customers td:nth-child(7) {
	min-width: 130px;
}

.qm-auth-table--customers .qm-auth-table__cell--actions {
	position: sticky;
	right: 0;
	z-index: 2;
	min-width: 320px;
	background: #ffffff;
	box-shadow: -12px 0 18px rgba(33, 42, 51, 0.04);
}

.qm-auth-table--customers thead .qm-auth-table__cell--actions {
	z-index: 3;
	background: #dff1ef;
}

.qm-auth-table--customers tbody tr:nth-child(even) .qm-auth-table__cell--actions {
	background: #f7f9fc;
}

.qm-auth-customer-code {
	color: #11b08d;
	font-weight: 500;
}

.qm-auth-customer-stars {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 22px;
	line-height: 1;
}

.qm-auth-customer-stars span {
	color: #ecf1f6;
}

.qm-auth-customer-stars span.is-active {
	color: #f7b51f;
}

.qm-auth-customer-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.qm-auth-license-action--wide {
	min-width: 82px;
}

.qm-auth-customer-console .qm-auth-license-status--active {
	background: #ecfaf5;
	color: #16b090;
}

.qm-auth-customer-console .qm-auth-license-status--inactive {
	background: #fff1f4;
	color: #ff5e72;
}

.qm-auth-license-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 3px 10px;
	border-radius: 4px;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 500;
}

.qm-auth-license-status--active {
	background: #ecfaf5;
	color: #18b38c;
}

.qm-auth-license-status--inactive {
	background: #eef2f6;
	color: #74808b;
}

.qm-auth-license-status--revoked {
	background: #fff0f0;
	color: #d14f57;
}

.qm-auth-license-status--expiring {
	background: #fff6e7;
	color: #d48321;
}

.qm-auth-license-progress {
	display: grid;
	grid-template-columns: minmax(0, 140px) auto;
	gap: 12px;
	align-items: center;
}

.qm-auth-license-progress__bar {
	position: relative;
	height: 10px;
	border-radius: 999px;
	background: #e2f4f2;
	overflow: hidden;
}

.qm-auth-license-progress__bar span {
	position: absolute;
	inset: 0 auto 0 0;
	border-radius: inherit;
	background: linear-gradient(90deg, #14ae83, #17bc8a);
}

.qm-auth-license-progress small {
	margin-top: 0;
	white-space: nowrap;
	color: #8d97a1;
}

.qm-auth-license-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.qm-auth-license-action-form {
	margin: 0;
}

.qm-auth-license-action,
.qm-auth-license-action-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 56px;
	min-height: 32px;
	padding: 0 14px;
	border: 0;
	border-radius: 4px;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 500;
	cursor: pointer;
}

.qm-auth-license-action.is-info {
	background: #edf8f5;
	color: #16b090;
}

.qm-auth-license-action.is-muted,
.qm-auth-license-action-form .is-muted {
	background: #edf8f5;
	color: #16b090;
}

.qm-auth-license-action.is-danger,
.qm-auth-license-action-form .is-danger {
	background: #fff1f4;
	color: #ff5e72;
}

.qm-auth-license-note {
	max-width: 100px;
	color: var(--qm-text-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.qm-auth-license-code,
.qm-auth-license-expiry {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.qm-auth-license-code {
	color: #11b08d;
	font-weight: 500;
}

.qm-auth-license-expiry small {
	display: inline;
	margin: 0;
	font-size: 14px;
	color: #3a434c;
}

.qm-auth-license-expiry__placeholder {
	position: relative;
	display: inline-flex;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	border: 1.5px solid #c8d1dc;
	border-radius: 50%;
}

.qm-auth-license-expiry__placeholder::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 3px;
	width: 1.5px;
	height: 5px;
	background: #c8d1dc;
	transform: translateX(-50%);
}

.qm-auth-license-expiry__placeholder::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 4px;
	height: 1.5px;
	background: #c8d1dc;
	transform: translateY(-50%);
	transform-origin: left center;
}

.qm-auth-pagination {
	display: flex;
	align-items: center;
	gap: 10px;
}

.qm-auth-pagination__arrow,
.qm-auth-pagination__link,
.qm-auth-pagination__dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	min-height: 24px;
	color: #5d6873;
	font-size: 14px;
	line-height: 1;
}

.qm-auth-pagination__link.is-active {
	color: var(--qm-primary-deep);
	font-weight: 500;
}

.qm-auth-pagination__arrow.is-disabled {
	pointer-events: none;
	opacity: 0.35;
}

.qm-auth-license-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.qm-auth-license-detail-item {
	padding: 16px;
	border: 1px solid #e5ecf3;
	border-radius: 10px;
	background: #fafcff;
}

.qm-auth-license-detail-item span {
	display: block;
	font-size: 13px;
	line-height: 1.5;
	color: var(--qm-text-subtle);
}

.qm-auth-license-detail-item strong {
	display: block;
	margin-top: 6px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.55;
	color: var(--qm-text);
}

.qm-auth-license-detail-panels {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 18px;
}

.qm-auth-license-detail-panels > div {
	padding: 18px;
	border: 1px solid #e5ecf3;
	border-radius: 10px;
	background: #ffffff;
}

.qm-auth-license-detail-panels h3 {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--qm-text);
}

.qm-auth-license-footer {
	margin-top: 18px;
}

.qm-auth-license-footer__meta {
	gap: 18px;
	color: #8f98a3;
	font-size: 14px;
	flex-wrap: wrap;
	min-width: 0;
}

.qm-auth-license-footer__pager {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	min-width: 0;
}

.qm-auth-pagination-jump {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #9aa2ac;
	font-size: 14px;
	flex-wrap: wrap;
}

.qm-auth-pagination-jump input {
	width: 64px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid #dbe2eb;
	border-radius: 6px;
	background: #ffffff;
	text-align: center;
	color: #4d5660;
}

.qm-auth-license-modal {
	position: fixed;
	inset: 0;
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
}

.qm-auth-license-modal__backdrop {
	position: absolute;
	inset: 0;
	display: block;
	background: rgba(33, 42, 51, 0.2);
}

.qm-auth-license-modal__panel {
	position: relative;
	z-index: 1;
	width: min(720px, 100%);
	max-height: calc(100vh - 64px);
	padding: 24px;
	overflow: auto;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 18px 40px rgba(33, 42, 51, 0.14);
}

.qm-auth-license-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.qm-auth-license-modal__head h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
}

.qm-auth-license-modal__head a {
	color: #7d8893;
	font-size: 14px;
}

.qm-auth-table--dashboard td:first-child,
.qm-auth-table--dashboard th:first-child {
	text-align: center;
	width: 86px;
}

.qm-auth-inline-form {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 8px 8px 0;
}

.qm-auth-inline-form select {
	min-width: 126px;
}

.qm-auth-tag {
	min-height: 32px;
	padding: 6px 10px;
	font-size: 12px;
	line-height: 1.5;
	border-radius: 8px;
}

.qm-auth-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.qm-auth-tags--product {
	margin-top: 10px;
}

.qm-auth-tag--muted {
	background: var(--qm-surface-soft);
	color: var(--qm-text-subtle);
}

.qm-auth-product-email-empty {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	margin-top: 10px;
	padding: 6px 10px;
	border: 1px solid var(--qm-border);
	border-radius: 8px;
	background: var(--qm-surface-soft);
	font-size: 12px;
	line-height: 1.5;
	color: var(--qm-text-subtle);
}

.qm-auth-table-wrap--products {
	overflow: hidden;
}

.qm-auth-table--products {
	width: 100%;
	table-layout: fixed;
}

.qm-auth-table--products th:nth-child(1),
.qm-auth-table--products td:nth-child(1) {
	width: 13%;
}

.qm-auth-table--products th:nth-child(2),
.qm-auth-table--products td:nth-child(2) {
	width: 11%;
}

.qm-auth-table--products th:nth-child(3),
.qm-auth-table--products td:nth-child(3) {
	width: 8%;
}

.qm-auth-table--products th:nth-child(4),
.qm-auth-table--products td:nth-child(4) {
	width: 11%;
}

.qm-auth-table--products th:nth-child(5),
.qm-auth-table--products td:nth-child(5) {
	width: 18%;
}

.qm-auth-table--products th:nth-child(6),
.qm-auth-table--products td:nth-child(6) {
	width: 12%;
}

.qm-auth-table--products th:nth-child(7),
.qm-auth-table--products td:nth-child(7) {
	width: 11%;
}

.qm-auth-table--products th:nth-child(8),
.qm-auth-table--products td:nth-child(8) {
	width: 10%;
}

.qm-auth-product-table__cell {
	min-width: 0;
}

.qm-auth-product-table__cell strong,
.qm-auth-product-table__cell small,
.qm-auth-product-table__cell code {
	overflow-wrap: anywhere;
	word-break: break-word;
}

.qm-auth-product-name {
	display: grid;
	gap: 10px;
}

.qm-auth-product-name .qm-auth-badge {
	justify-self: start;
}

.qm-auth-product-code {
	display: inline-block;
	max-width: 100%;
	padding: 2px 0;
	color: var(--qm-text-muted);
}

.qm-auth-product-email {
	max-width: 100%;
}

.qm-auth-product-actions {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.qm-auth-card--products {
	display: grid;
	gap: 18px;
}

.qm-auth-product-toolbar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.qm-auth-product-toolbar .qm-auth-card-head {
	margin-bottom: 0;
}

.qm-auth-product-toolbar__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.qm-auth-product-table__cell--actions .qm-auth-license-action {
	min-width: 84px;
	padding: 0 12px;
	text-align: center;
	white-space: nowrap;
	border-radius: 8px;
}

.qm-auth-panel--product {
	position: sticky;
	top: 18px;
}

.qm-auth-license-modal--product .qm-auth-license-modal__panel {
	width: min(820px, 100%);
}

.qm-auth-license-modal--product .qm-auth-actions {
	grid-column: 1 / -1;
	justify-content: flex-end;
}

.qm-auth-product-panel-meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 18px;
}

.qm-auth-product-panel-meta div,
.qm-auth-product-release,
.qm-auth-product-release__meta div {
	padding: 14px 16px;
	border: 1px solid var(--qm-border);
	border-radius: 10px;
	background: var(--qm-surface-soft);
}

.qm-auth-product-panel-meta span,
.qm-auth-product-release__meta span {
	display: block;
	font-size: 13px;
	line-height: 1.5;
	color: var(--qm-text-subtle);
}

.qm-auth-product-panel-meta strong,
.qm-auth-product-release__meta strong {
	display: block;
	margin-top: 6px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.55;
	color: var(--qm-text);
	overflow-wrap: anywhere;
}

.qm-auth-product-release {
	display: grid;
	gap: 14px;
	grid-column: 1 / -1;
}

.qm-auth-panel--product .qm-auth-actions {
	grid-column: 1 / -1;
}

.qm-auth-product-release .qm-auth-card-head {
	margin-bottom: 0;
}

.qm-auth-product-release__meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.qm-auth-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.qm-auth-list li {
	padding-bottom: 12px;
	border-bottom: 1px solid #edf1f5;
	font-size: 14px;
	line-height: 1.55;
	color: var(--qm-text-muted);
}

.qm-auth-list li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.qm-auth-key-list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.qm-auth-key-list div {
	padding: 14px 16px;
	border: 1px solid var(--qm-border);
	border-radius: 12px;
	background: var(--qm-surface-soft);
}

.qm-auth-key-list span {
	display: block;
	font-size: 13px;
	line-height: 1.5;
	color: var(--qm-text-subtle);
}

.qm-auth-key-list strong,
.qm-auth-key-list code {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.55;
	font-weight: 500;
	color: var(--qm-text);
}

.qm-auth-empty {
	padding: 16px 18px;
	border: 1px dashed var(--qm-border-strong);
	border-radius: 12px;
	background: var(--qm-surface-soft);
}

.qm-auth-note {
	padding: 14px 16px;
	border: 1px solid #e9edf2;
	border-radius: 12px;
	background: var(--qm-surface-soft);
}

.qm-auth-login-body {
	margin: 0;
	min-height: 100vh;
	padding: 8px;
	background: #dce8e8;
}

.qm-auth-login-page {
	min-height: calc(100vh - 16px);
	border-radius: 14px;
	overflow: hidden;
	background: #f4f7f7;
	box-shadow: 0 22px 52px rgba(24, 43, 38, 0.14);
}

.qm-auth-login-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.72fr) minmax(360px, 0.82fr);
	min-height: calc(100vh - 16px);
}

.qm-auth-login-visual {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 44px 56px 52px;
	background:
		radial-gradient(circle at 30% 32%, rgba(115, 204, 181, 0.24), transparent 28%),
		radial-gradient(circle at 68% 72%, rgba(115, 204, 181, 0.18), transparent 24%),
		linear-gradient(180deg, rgba(14, 108, 91, 0.96), rgba(21, 125, 104, 0.96));
	color: #ffffff;
	isolation: isolate;
}

.qm-auth-login-visual::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 36px 36px;
	opacity: 0.88;
}

.qm-auth-login-visual::after {
	content: "";
	position: absolute;
	left: -3%;
	right: -3%;
	bottom: -8%;
	height: 140px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.09), transparent 36%),
		linear-gradient(180deg, rgba(133, 221, 198, 0.18), rgba(52, 167, 140, 0.2));
}

.qm-auth-login-visual__noise,
.qm-auth-login-visual__brand,
.qm-auth-login-visual__content,
.qm-auth-login-visual__metrics,
.qm-auth-login-panel,
.qm-auth-login-form-shell {
	position: relative;
	z-index: 1;
}

.qm-auth-login-visual__noise {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 10% 18%, rgba(255, 255, 255, 0.32) 0 2px, transparent 3px),
		radial-gradient(circle at 22% 56%, rgba(255, 255, 255, 0.24) 0 2px, transparent 3px),
		radial-gradient(circle at 48% 24%, rgba(113, 243, 213, 0.3) 0 2px, transparent 3px),
		radial-gradient(circle at 72% 38%, rgba(255, 255, 255, 0.22) 0 3px, transparent 4px),
		radial-gradient(circle at 86% 66%, rgba(255, 255, 255, 0.26) 0 3px, transparent 4px),
		radial-gradient(circle at 60% 78%, rgba(113, 243, 213, 0.28) 0 2px, transparent 3px);
}

.qm-auth-login-visual__brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
}

.qm-auth-login-logo {
	position: relative;
	width: 34px;
	height: 34px;
}

.qm-auth-login-logo span {
	position: absolute;
	bottom: 0;
	display: block;
	background: #0ee0b3;
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.qm-auth-login-logo span:nth-child(1) {
	left: 0;
	width: 18px;
	height: 24px;
}

.qm-auth-login-logo span:nth-child(2) {
	left: 12px;
	width: 14px;
	height: 34px;
	opacity: 0.86;
}

.qm-auth-login-logo span:nth-child(3) {
	right: 0;
	width: 10px;
	height: 18px;
	opacity: 0.62;
}

.qm-auth-login-visual__content {
	max-width: 560px;
	padding-top: 40px;
}

.qm-auth-login-visual__eyebrow {
	margin-bottom: 18px;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82);
}

.qm-auth-login-visual__content h1 {
	margin: 0 0 16px;
	font-size: 54px;
	font-weight: 500;
	line-height: 1.22;
	color: #ffffff;
}

.qm-auth-login-visual__content p {
	max-width: 620px;
	margin: 0;
	font-size: 24px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.8);
}

.qm-auth-login-visual__metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	max-width: 520px;
}

.qm-auth-login-metric {
	padding-right: 26px;
	border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.qm-auth-login-metric:last-child {
	border-right: 0;
}

.qm-auth-login-metric strong {
	display: block;
	margin-bottom: 6px;
	font-size: 42px;
	font-weight: 500;
	line-height: 1.2;
	color: #ffffff;
}

.qm-auth-login-metric span {
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.76);
}

.qm-auth-login-panel {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 28px 36px 24px;
	background: #ffffff;
}

.qm-auth-login-panel__lang {
	display: inline-flex;
	align-items: center;
	align-self: flex-end;
	gap: 14px;
	min-height: 34px;
	padding: 0 12px;
	border: 1px solid #d7dfdf;
	border-radius: 8px;
	color: #4d5c5c;
	font-size: 13px;
	line-height: 1.5;
}

.qm-auth-login-panel__lang i {
	width: 8px;
	height: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
}

.qm-auth-login-form-shell {
	width: 100%;
	max-width: 500px;
	margin: 40px auto 0;
	padding: 0;
}

.qm-auth-login-form-head {
	margin-bottom: 28px;
}

.qm-auth-login-form-head h2 {
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.4;
	color: #1e2428;
}

.qm-auth-login-form-head p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #7a868c;
}

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

.qm-auth-login-field {
	display: block;
}

.qm-auth-login-field__input {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	align-items: center;
	min-height: 50px;
	border: 1px solid #dde5e4;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.02);
	transition: border-color var(--qm-transition), box-shadow var(--qm-transition);
}

.qm-auth-login-field__input:focus-within {
	border-color: #1aaa89;
	box-shadow: 0 0 0 4px rgba(26, 170, 137, 0.1);
}

.qm-auth-login-field__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: #18a789;
}

.qm-auth-login-field__icon svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.qm-auth-login-field__input input {
	width: 100%;
	height: 100%;
	padding: 0 16px 0 2px;
	border: 0;
	outline: none;
	background: transparent;
	color: #20262a;
	font-size: 15px;
	line-height: 1.5;
}

.qm-auth-login-field__input input::placeholder {
	color: #a0abad;
}

.qm-auth-login-verify {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	min-height: 50px;
	padding: 0 16px;
	border: 1px solid #d6efea;
	border-radius: 12px;
	background: #fbffff;
	cursor: pointer;
}

.qm-auth-login-verify input,
.qm-auth-login-check input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.qm-auth-login-verify__box {
	width: 22px;
	height: 22px;
	border: 2px solid #19ab8b;
	border-radius: 6px;
	transition: background var(--qm-transition), border-color var(--qm-transition);
}

.qm-auth-login-verify__text {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	color: #2a3d3a;
}

.qm-auth-login-verify small {
	font-size: 12px;
	line-height: 1.5;
	color: #7f8b90;
}

.qm-auth-login-verify input:checked + .qm-auth-login-verify__box {
	border-color: #19ab8b;
	background: linear-gradient(135deg, #19ab8b, #13c0a0);
}

.qm-auth-login-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	font-size: 13px;
	line-height: 1.5;
	color: #7c868b;
}

.qm-auth-login-check {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.qm-auth-login-check span::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 10px;
	border: 1px solid #d5dddd;
	border-radius: 5px;
	vertical-align: -3px;
	background: #ffffff;
}

.qm-auth-login-check input:checked + span::before {
	background: linear-gradient(135deg, #19ab8b, #11c6a4);
	border-color: #19ab8b;
}

.qm-auth-login-row__link {
	color: #8f989c;
}

.qm-auth-login-submit {
	width: 100%;
	min-height: 48px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #0fa888, #089b7f);
	color: #ffffff;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	cursor: pointer;
	box-shadow: 0 18px 28px rgba(15, 168, 136, 0.22);
	transition: transform var(--qm-transition), box-shadow var(--qm-transition), opacity var(--qm-transition);
}

.qm-auth-login-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 20px 34px rgba(15, 168, 136, 0.26);
}

.qm-auth-login-foot {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid #edf2f2;
	display: grid;
	gap: 10px;
}

.qm-auth-login-foot__line {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	font-size: 12px;
	line-height: 1.5;
	color: #8b959b;
}

.qm-auth-login-foot__line strong {
	color: #3a474f;
	font-weight: 500;
}

.qm-auth-login-support {
	display: inline-flex;
	align-items: center;
	align-self: flex-end;
	justify-content: center;
	min-height: 46px;
	margin-top: auto;
	padding: 0 18px;
	border-radius: 999px;
	background: linear-gradient(135deg, #0fa888, #09977c);
	color: #ffffff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	box-shadow: 0 14px 28px rgba(15, 168, 136, 0.2);
}

@media (max-width: 1440px) {
	.qm-auth-admin {
		grid-template-columns: 280px minmax(0, 1fr);
	}

	.qm-auth-license-toolbar {
		grid-template-areas:
			"create refresh"
			"filters filters";
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.qm-auth-customer-toolbar {
		grid-template-columns: minmax(0, 1fr);
	}

	.qm-auth-customer-filters {
		grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(280px, 1.1fr);
	}

	.qm-auth-license-filters {
		grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(220px, 1.15fr);
	}

	.qm-auth-license-console__refresh {
		justify-self: end;
	}

	.qm-auth-kpi-strip {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.qm-auth-kpi:nth-child(4n) {
		border-right: 0;
	}
}

@media (max-width: 1200px) {
	.qm-auth-topbar,
	.qm-auth-surface__head,
	.qm-auth-page-head,
	.qm-auth-layout,
	.qm-auth-detail-grid {
		grid-template-columns: 1fr;
	}

	.qm-auth-license-filters,
	.qm-auth-customer-filters,
	.qm-auth-license-detail-grid,
	.qm-auth-license-detail-panels {
		grid-template-columns: 1fr;
	}

	.qm-auth-license-toolbar {
		grid-template-areas:
			"create"
			"filters"
			"refresh";
		grid-template-columns: 1fr;
	}

	.qm-auth-license-console__refresh {
		justify-self: start;
	}

	.qm-auth-license-console__header,
	.qm-auth-license-footer {
		flex-direction: column;
		align-items: stretch;
	}

	.qm-auth-page-head__meta {
		grid-template-columns: 1fr;
	}

	.qm-auth-product-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.qm-auth-product-toolbar__actions {
		justify-content: flex-start;
	}

	.qm-auth-topbar {
		flex-direction: column;
		align-items: flex-start;
		padding-top: 18px;
		padding-bottom: 18px;
	}

	.qm-auth-topbar__actions {
		width: 100%;
		justify-content: flex-start;
	}

	.qm-auth-kpi-strip {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.qm-auth-kpi {
		border-right: 1px solid rgba(255, 255, 255, 0.14);
	}

	.qm-auth-kpi:nth-child(3n) {
		border-right: 0;
	}

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

	.qm-auth-login-panel {
		padding-top: 24px;
	}

	.qm-auth-login-visual {
		min-height: 460px;
	}
}

@media (max-width: 960px) {
	.qm-auth-admin {
		grid-template-columns: 1fr;
	}

	.qm-auth-sidebar {
		padding-bottom: 18px;
		border-right: 0;
		border-bottom: 1px solid #dfe5ed;
	}

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

	.qm-auth-sidebar__subnav {
		grid-column: 1 / -1;
	}

	.qm-auth-main--app {
		padding: 18px 16px 18px;
	}

	.qm-auth-kpi-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.qm-auth-kpi,
	.qm-auth-kpi:nth-child(3n) {
		border-right: 1px solid rgba(255, 255, 255, 0.14);
	}

	.qm-auth-kpi:nth-child(2n) {
		border-right: 0;
	}

	.qm-auth-grid,
	.qm-auth-form-grid,
	.qm-auth-stat-grid,
	.qm-auth-key-list {
		grid-template-columns: 1fr;
	}

	.qm-auth-panel--product .qm-auth-form-grid {
		grid-template-columns: 1fr;
	}

	.qm-auth-panel--product {
		position: static;
	}

	.qm-auth-product-panel-meta,
	.qm-auth-product-release__meta {
		grid-template-columns: 1fr;
	}

	.qm-auth-table-wrap--products {
		overflow-x: auto;
	}

	.qm-auth-table--products {
		width: max(100%, 980px);
		table-layout: auto;
	}

	.qm-auth-login-body {
		padding: 0;
	}

	.qm-auth-login-page,
	.qm-auth-login-layout {
		min-height: 100vh;
		border-radius: 0;
	}

	.qm-auth-login-visual {
		padding: 28px 24px 34px;
		min-height: 360px;
	}

	.qm-auth-login-visual__content {
		padding-top: 24px;
	}

	.qm-auth-login-visual__content h1 {
		font-size: 36px;
	}

	.qm-auth-login-visual__content p {
		font-size: 18px;
	}

	.qm-auth-login-visual__metrics {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.qm-auth-login-metric {
		padding-right: 0;
		padding-bottom: 18px;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	}

	.qm-auth-login-metric:last-child {
		padding-bottom: 0;
		border-bottom: 0;
	}

	.qm-auth-login-panel {
		padding: 24px 20px;
	}

	.qm-auth-login-form-shell {
		max-width: none;
		margin-top: 28px;
		padding-top: 0;
	}

	.qm-auth-login-form-head {
		margin-bottom: 28px;
	}

	.qm-auth-login-foot__line,
	.qm-auth-login-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.qm-auth-login-support {
		margin-top: 22px;
		align-self: stretch;
	}

	.qm-auth-customer-actions {
		flex-wrap: wrap;
	}
}

@media (max-width: 640px) {
	.qm-auth-sidebar__nav {
		grid-template-columns: 1fr;
	}

	.qm-auth-kpi-strip {
		grid-template-columns: 1fr;
	}

	.qm-auth-kpi,
	.qm-auth-kpi:nth-child(2n) {
		border-right: 0;
	}

	.qm-auth-surface,
	.qm-auth-card,
	.qm-auth-page-head,
	.qm-auth-panel,
	.qm-auth-stat,
	.qm-auth-check {
		padding-left: 16px;
		padding-right: 16px;
	}

	.qm-auth-topbar {
		padding-left: 16px;
		padding-right: 16px;
	}

	.qm-auth-login-panel__lang {
		align-self: stretch;
		justify-content: space-between;
	}

	.qm-auth-login-field__input {
		grid-template-columns: 48px minmax(0, 1fr);
	}

	.qm-auth-login-verify {
		grid-template-columns: 30px minmax(0, 1fr);
	}

	.qm-auth-login-verify small {
		grid-column: 2;
	}

	.qm-auth-inline-form {
		display: grid;
		width: 100%;
		margin-right: 0;
	}

	.qm-auth-license-actions {
		flex-wrap: wrap;
	}

	.qm-auth-table--licenses .qm-auth-table__cell--actions {
		min-width: 180px;
	}

	.qm-auth-table--customers .qm-auth-table__cell--actions {
		min-width: 210px;
	}

	.qm-auth-inline-form select,
	.qm-auth-inline-form button,
	.qm-auth-button {
		width: 100%;
	}

	.qm-auth-actions {
		flex-direction: column;
	}
}
