.nxlms {
	--nxf-brand: #10b981;
	--nxf-brand-strong: color-mix(in srgb, var(--nxf-brand) 82%, #000);
	--nxf-brand-soft: color-mix(in srgb, var(--nxf-brand) 10%, #fff);
	--nxf-ink: #0f172a;
	--nxf-text: #334155;
	--nxf-muted: #64748b;
	--nxf-faint: #94a3b8;
	--nxf-line: #e6e8ec;
	--nxf-surface: #fff;
	--nxf-canvas: #f6f7f9;
	--nxf-radius: 12px;
	--nxf-radius-sm: 8px;
	--nxf-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .05);
	--nxf-shadow-lg: 0 12px 32px rgba(15, 23, 42, .1);
	--nxf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	box-sizing: border-box;
	color: var(--nxf-text);
	font-family: var(--nxf-font);
	font-size: 14px;
	line-height: 1.55;
	letter-spacing: normal;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}
.nxlms *, .nxlms *::before, .nxlms *::after { box-sizing: border-box; }
.nxlms :where(h1, h2, h3, h4, h5, h6) { margin: 0; padding: 0; color: var(--nxf-ink); font-family: inherit; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; text-transform: none; }
.nxlms :where(h1) { font-size: 22px; }
.nxlms :where(h2) { font-size: 18px; }
.nxlms :where(h3) { font-size: 15px; }
.nxlms :where(p) { margin: 0; font-size: inherit; }
.nxlms :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
.nxlms :where(a) { color: var(--nxf-brand-strong); text-decoration: none; box-shadow: none; transition: color .15s ease; }
.nxlms :where(a:hover) { color: var(--nxf-brand); }
.nxlms :where(img, svg, video) { display: block; max-width: 100%; height: auto; }
.nxlms svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.nxlms *:focus:not(:focus-visible) { outline: none; box-shadow: none; }
.nxlms :focus-visible { outline: 2px solid var(--nxf-brand); outline-offset: 2px; }
.nxlms .nxlms-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.nxlms .nxlms-card { background: var(--nxf-surface); border: 1px solid var(--nxf-line); border-radius: var(--nxf-radius); box-shadow: var(--nxf-shadow); }

.nxlms .nxlms-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	margin: 0;
	padding: 0 18px;
	border: 1px solid var(--nxf-line);
	border-radius: var(--nxf-radius-sm);
	background: var(--nxf-surface);
	box-shadow: none;
	color: var(--nxf-ink);
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: normal;
	text-decoration: none;
	text-transform: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.nxlms .nxlms-btn:hover { background: var(--nxf-canvas); color: var(--nxf-ink); }
.nxlms .nxlms-btn:active { transform: translateY(1px); }
.nxlms .nxlms-btn-primary { border-color: var(--nxf-brand); background: var(--nxf-brand); color: #fff; }
.nxlms .nxlms-btn-primary:hover { border-color: var(--nxf-brand-strong); background: var(--nxf-brand-strong); color: #fff; }
.nxlms .nxlms-btn-block { width: 100%; }
.nxlms .nxlms-btn:disabled { opacity: .6; cursor: not-allowed; }

.nxlms .nxlms-label { display: block; margin: 0 0 6px; color: var(--nxf-ink); font-size: 13px; font-weight: 500; }
.nxlms .nxlms-input {
	display: block;
	width: 100%;
	height: 44px;
	min-height: 0;
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--nxf-line);
	border-radius: var(--nxf-radius-sm);
	background: var(--nxf-surface);
	box-shadow: none;
	color: var(--nxf-ink);
	font-family: inherit;
	font-size: 14px;
	line-height: 1;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.nxlms textarea.nxlms-input { height: auto; min-height: 110px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.nxlms .nxlms-input::placeholder { color: var(--nxf-faint); opacity: 1; }
.nxlms .nxlms-input:focus { border-color: var(--nxf-brand); box-shadow: 0 0 0 3px var(--nxf-brand-soft); outline: 0; }

.nxlms .nxlms-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 20px; background: var(--nxf-brand-soft); color: var(--nxf-brand-strong); font-size: 12px; font-weight: 500; line-height: 1.6; }

.nxlms .nxlms-progress { height: 6px; overflow: hidden; border-radius: 6px; background: var(--nxf-canvas); }
.nxlms .nxlms-progress > span { display: block; height: 100%; border-radius: inherit; background: var(--nxf-brand); transition: width .4s ease; }

.nxlms .nxlms-notice { padding: 12px 14px; border: 1px solid var(--nxf-line); border-radius: var(--nxf-radius-sm); background: var(--nxf-canvas); color: var(--nxf-text); font-size: 13px; }
.nxlms .nxlms-notice.is-error { border-color: #fecaca; background: #fef2f2; color: #991b1b; }
.nxlms .nxlms-notice.is-success { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }

@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.nxlms { --nxf-brand-strong: var(--nxf-brand); --nxf-brand-soft: rgba(16, 185, 129, .12); }
}
