/*! Strand UI v0.1.1 | MIT License | dillingerstaffing.com */

/* Alert */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-alert {
	position: relative;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	width: 100%;
	padding: var(--strand-space-6);
	padding-left: var(--strand-space-5);
	border-radius: var(--strand-radius-md);
	border-left: 4px solid transparent;
	font-family: var(--strand-font-sans);
	font-size: var(--strand-text-sm);
}

/* ── Status variants ── */
.strand-alert--info {
	background: var(--strand-blue-glow);
	border-left-color: var(--strand-blue-primary);
}

.strand-alert--success {
	background: rgba(34, 197, 94, 0.08);
	border-left-color: var(--strand-green-positive);
}

.strand-alert--warning {
	background: rgba(245, 158, 11, 0.08);
	border-left-color: var(--strand-amber-caution);
}

.strand-alert--error {
	background: rgba(239, 68, 68, 0.08);
	border-left-color: var(--strand-red-alert);
}

/* ── Content ── */
.strand-alert__content {
	flex: 1;
	min-width: 0;
}

/* ── Dismiss button ── */
.strand-alert__dismiss {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-left: var(--strand-space-4);
	padding: 0;
	border: none;
	border-radius: var(--strand-radius-md);
	background: transparent;
	color: var(--strand-gray-500);
	font-size: var(--strand-text-base);
	cursor: pointer;
	transition: background var(--strand-duration-fast) ease, color var(--strand-duration-fast) ease;
}

.strand-alert__dismiss:hover {
	background: var(--strand-gray-100);
	color: var(--strand-gray-600);
}

/* Avatar */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--strand-radius-full);
	background: var(--strand-surface-recessed);
	overflow: hidden;
	flex-shrink: 0;
	font-family: var(--strand-font-sans);
	font-weight: var(--strand-weight-medium);
	color: var(--strand-gray-600);
	user-select: none;
}

/* ── Image ── */
.strand-avatar__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--strand-radius-full);
}

/* ── Initials ── */
.strand-avatar__initials {
	text-transform: uppercase;
	line-height: 1;
}

/* ── Sizes ── */
.strand-avatar--sm {
	width: 32px;
	height: 32px;
	font-size: var(--strand-text-xs);
}

.strand-avatar--md {
	width: 40px;
	height: 40px;
	font-size: var(--strand-text-sm);
}

.strand-avatar--lg {
	width: 48px;
	height: 48px;
	font-size: var(--strand-text-base);
}

.strand-avatar--xl {
	width: 64px;
	height: 64px;
	font-size: var(--strand-text-lg);
}

/* Badge */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Wrapper ── */
.strand-badge {
	position: relative;
	display: inline-flex;
	vertical-align: middle;
}

.strand-badge--inline {
	display: inline-flex;
}

/* ── Indicator (shared) ── */
.strand-badge__indicator {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--strand-font-sans);
	font-weight: var(--strand-weight-semibold);
	color: var(--strand-on-blue-primary);
}

/* Position at top-right when wrapping children */
.strand-badge:not(.strand-badge--inline) > .strand-badge__indicator {
	position: absolute;
	top: 0;
	right: 0;
	transform: translate(50%, -50%);
	z-index: 1;
}

/* ── Dot variant ── */
.strand-badge--dot {
	width: 8px;
	height: 8px;
	border-radius: var(--strand-radius-full);
	font-size: 0;
	padding: 0;
}

/* ── Count variant ── */
.strand-badge--count {
	min-width: 20px;
	height: 20px;
	padding: 0 var(--strand-space-1);
	border-radius: var(--strand-radius-full);
	font-size: var(--strand-text-xs);
	line-height: 20px;
}

/* ── Status colors ── */
.strand-badge--default {
	background: var(--strand-gray-500);
}

.strand-badge--teal {
	background: var(--strand-teal-vital);
}

.strand-badge--blue {
	background: var(--strand-blue-primary);
}

.strand-badge--amber {
	background: var(--strand-amber-caution);
	color: var(--strand-blue-midnight);
}

.strand-badge--red {
	background: var(--strand-red-alert);
}

/* Breadcrumb */
/*! Strand UI | MIT License | dillingerstaffing.com */

.strand-breadcrumb__list {
	display: flex;
	align-items: center;
	gap: var(--strand-space-2);
	list-style: none;
	margin: 0;
	padding: 0;
	font-family: var(--strand-font-sans);
	font-size: var(--strand-text-sm);
}

.strand-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	gap: var(--strand-space-2);
}

.strand-breadcrumb__separator {
	color: var(--strand-gray-400);
	user-select: none;
}

.strand-breadcrumb__link {
	color: var(--strand-gray-500);
	text-decoration: none;
	transition: color var(--strand-duration-fast) ease;
}

.strand-breadcrumb__link:hover {
	color: var(--strand-gray-600);
}

.strand-breadcrumb__current {
	color: var(--strand-gray-600);
	font-weight: var(--strand-weight-medium);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-breadcrumb__link {
		transition: none;
	}
}

/* Button */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--strand-space-2);
	border: 1px solid transparent;
	border-radius: var(--strand-radius-md);
	font-family: var(--strand-font-sans);
	font-weight: var(--strand-weight-medium);
	line-height: var(--strand-leading-snug);
	white-space: nowrap;
	cursor: pointer;
	user-select: none;
	transition:
		background var(--strand-duration-fast) ease,
		border-color var(--strand-duration-fast) ease,
		color var(--strand-duration-fast) ease,
		transform var(--strand-duration-fast) var(--strand-ease-out-expo),
		box-shadow var(--strand-duration-fast) ease;
}

.strand-btn:active:not(:disabled) {
	transform: translateY(0);
	transition-duration: 75ms;
}

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

/* ── Sizes ── */
.strand-btn--sm {
	padding: var(--strand-space-1) var(--strand-space-3);
	font-size: var(--strand-text-sm);
	min-height: 32px;
}

.strand-btn--md {
	padding: calc(var(--strand-space-2) + var(--strand-space-1) / 2) var(--strand-space-5);
	font-size: var(--strand-text-sm);
	min-height: 40px;
}

.strand-btn--lg {
	padding: var(--strand-space-3) var(--strand-space-6);
	font-size: var(--strand-text-base);
	min-height: 48px;
}

/* ── Icon-only ── */
.strand-btn--icon-only.strand-btn--sm {
	padding: var(--strand-space-1);
	min-width: 32px;
}

.strand-btn--icon-only.strand-btn--md {
	padding: var(--strand-space-2);
	min-width: 40px;
}

.strand-btn--icon-only.strand-btn--lg {
	padding: var(--strand-space-3);
	min-width: 48px;
}

/* ── Full width ── */
.strand-btn--full-width {
	width: 100%;
}

/* ── Primary variant ── */
.strand-btn--primary {
	background: var(--strand-blue-primary);
	color: var(--strand-on-blue-primary);
}

.strand-btn--primary:hover:not(:disabled) {
	background: var(--strand-blue-vivid);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.strand-btn--primary:active:not(:disabled) {
	background: var(--strand-blue-deep);
}

/* ── Secondary variant ── */
.strand-btn--secondary {
	background: var(--strand-surface-elevated);
	color: var(--strand-blue-midnight);
	border-color: var(--strand-gray-200);
}

.strand-btn--secondary:hover:not(:disabled) {
	background: var(--strand-blue-glow);
	border-color: var(--strand-blue-indicator);
	transform: translateY(-1px);
	box-shadow: var(--strand-elevation-1);
}

.strand-btn--secondary:active:not(:disabled) {
	background: var(--strand-blue-wash);
}

/* ── Ghost variant ── */
.strand-btn--ghost {
	background: transparent;
	color: var(--strand-blue-primary);
}

.strand-btn--ghost:hover:not(:disabled) {
	background: var(--strand-blue-glow);
}

.strand-btn--ghost:active:not(:disabled) {
	background: var(--strand-blue-wash);
}

/* ── Danger variant ── */
.strand-btn--danger {
	background: var(--strand-red-alert);
	color: var(--strand-on-red-alert);
}

.strand-btn--danger:hover:not(:disabled) {
	background: var(--strand-red-alert-vivid);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.strand-btn--danger:active:not(:disabled) {
	background: var(--strand-red-alert-deep);
}

/* ── Loading state ── */
.strand-btn--loading {
	pointer-events: none;
}

.strand-btn__spinner {
	position: absolute;
	width: 16px;
	height: 16px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: var(--strand-radius-full);
	animation: strand-btn-spin 0.8s linear infinite;
	opacity: 0.8;
}

.strand-btn--lg .strand-btn__spinner {
	width: 20px;
	height: 20px;
}

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

/* ── Content wrapper ── */
.strand-btn__content {
	display: inline-flex;
	align-items: center;
	gap: var(--strand-space-2);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-btn {
		transition: none;
	}

	.strand-btn:hover:not(:disabled) {
		transform: none;
	}

	.strand-btn__spinner {
		animation: none;
		border-style: dotted;
	}
}

/* Card */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-card {
	border-radius: var(--strand-radius-lg);
	background: var(--strand-surface-elevated);
	font-family: var(--strand-font-sans);
	overflow: hidden;
	box-sizing: border-box;
	max-width: 100%;
}

/* ── Variants ── */
.strand-card--elevated {
	box-shadow: var(--strand-elevation-1);
}

.strand-card--outlined {
	box-shadow: none;
	border: 1px solid var(--strand-gray-200);
}

.strand-card--interactive {
	box-shadow: var(--strand-elevation-1);
	cursor: pointer;
	transition: transform var(--strand-duration-fast) var(--strand-ease-out-expo), box-shadow
		var(--strand-duration-fast) var(--strand-ease-out-expo);
}

.strand-card--interactive:hover {
	transform: translateY(-2px);
	box-shadow: var(--strand-elevation-2);
}

/* ── Padding ── */
.strand-card--pad-none {
	padding: 0;
}

.strand-card--pad-sm {
	padding: var(--strand-space-4);
}

.strand-card--pad-md {
	padding: var(--strand-space-6);
}

.strand-card--pad-lg {
	padding: var(--strand-space-10);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-card--interactive {
		transition: none;
	}

	.strand-card--interactive:hover {
		transform: none;
	}
}

/* Checkbox */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-checkbox {
	display: inline-flex;
	align-items: center;
	gap: var(--strand-space-2);
	cursor: pointer;
	user-select: none;
	font-family: var(--strand-font-sans);
	font-size: var(--strand-text-sm);
	color: var(--strand-gray-900);
	line-height: var(--strand-leading-snug);
}

/* ── Hidden native input ── */
.strand-checkbox__native {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ── Custom visual ── */
.strand-checkbox__control {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border: 1px solid var(--strand-gray-200);
	border-radius: var(--strand-radius-sm);
	background: var(--strand-surface-elevated);
	color: var(--strand-on-blue-primary);
	flex-shrink: 0;
	transition: background var(--strand-duration-fast) ease, border-color var(--strand-duration-fast)
		ease, box-shadow var(--strand-duration-fast) ease;
}

.strand-checkbox__icon {
	width: 14px;
	height: 14px;
}

/* ── Focus ring ── */
.strand-checkbox__native:focus-visible ~ .strand-checkbox__control {
	border-color: var(--strand-blue-primary);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ── Checked ── */
.strand-checkbox--checked .strand-checkbox__control {
	background: var(--strand-blue-primary);
	border-color: var(--strand-blue-primary);
}

/* ── Indeterminate ── */
.strand-checkbox--indeterminate .strand-checkbox__control {
	background: var(--strand-blue-primary);
	border-color: var(--strand-blue-primary);
}

/* ── Hover ── */
.strand-checkbox:hover:not(.strand-checkbox--disabled) .strand-checkbox__control {
	border-color: var(--strand-blue-indicator);
}

.strand-checkbox--checked:hover:not(.strand-checkbox--disabled) .strand-checkbox__control,
.strand-checkbox--indeterminate:hover:not(.strand-checkbox--disabled) .strand-checkbox__control {
	background: var(--strand-blue-vivid);
	border-color: var(--strand-blue-vivid);
}

/* ── Label ── */
.strand-checkbox__label {
	color: var(--strand-gray-900);
}

/* ── Disabled ── */
.strand-checkbox--disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-checkbox__control {
		transition: none;
	}
}

/* Container */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-container {
	width: 100%;
	margin-inline: auto;
	padding-inline: clamp(1.5rem, 5vw, 4rem);
}

/* ── Sizes ── */
.strand-container--narrow {
	max-width: var(--strand-content-narrow);
}

.strand-container--default {
	max-width: var(--strand-content-default);
}

.strand-container--wide {
	max-width: var(--strand-content-wide);
}

.strand-container--full {
	max-width: var(--strand-content-full);
}

/* DataReadout */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Layout ── */
.strand-data-readout {
	display: flex;
	flex-direction: column;
	gap: var(--strand-space-1);
}

/* ── Label (overline) ── */
.strand-data-readout__label {
	font-family: var(--strand-font-mono);
	font-size: var(--strand-text-xs);
	font-weight: var(--strand-weight-medium);
	letter-spacing: var(--strand-tracking-ultra);
	text-transform: uppercase;
	color: var(--strand-gray-500);
	line-height: var(--strand-leading-normal);
}

/* ── Value (instrument readout) ── */
.strand-data-readout__value {
	font-family: var(--strand-font-mono);
	font-size: var(--strand-text-3xl);
	font-weight: var(--strand-weight-light);
	letter-spacing: var(--strand-tracking-tighter);
	color: var(--strand-blue-midnight);
	line-height: var(--strand-leading-tight);
	font-variant-numeric: tabular-nums;
}

/* Dialog */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Backdrop ── */
.strand-dialog__backdrop {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, 0.5);
}

/* ── Panel ── */
.strand-dialog__panel {
	position: relative;
	width: 100%;
	max-width: 560px;
	margin: var(--strand-space-4);
	padding: var(--strand-space-8);
	background: var(--strand-surface-elevated);
	border-radius: var(--strand-radius-xl);
	box-shadow: var(--strand-elevation-4);
	font-family: var(--strand-font-sans);
	outline: none;
}

/* ── Header ── */
.strand-dialog__header {
	margin-bottom: var(--strand-space-4);
	padding-right: var(--strand-space-8);
}

/* ── Title ── */
.strand-dialog__title {
	margin: 0;
	font-size: var(--strand-text-lg);
	font-weight: var(--strand-weight-semibold);
	color: var(--strand-blue-midnight);
	line-height: var(--strand-leading-snug);
}

/* ── Close button ── */
.strand-dialog__close {
	position: absolute;
	top: var(--strand-space-6);
	right: var(--strand-space-6);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: none;
	border-radius: var(--strand-radius-md);
	background: transparent;
	color: var(--strand-gray-500);
	font-size: var(--strand-text-lg);
	cursor: pointer;
	transition: background var(--strand-duration-fast) ease, color var(--strand-duration-fast) ease;
}

.strand-dialog__close:hover {
	background: var(--strand-gray-200);
	color: var(--strand-gray-900);
}

/* ── Body ── */
.strand-dialog__body {
	padding-top: var(--strand-space-6);
	color: var(--strand-gray-600);
	font-size: var(--strand-text-sm);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-dialog__close {
		transition: none;
	}
}

/* Divider */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-divider {
	border: 0;
	margin: 0;
	padding: 0;
}

/* ── Horizontal (hr) ── */
.strand-divider--horizontal {
	width: 100%;
	border-top: 1px solid var(--strand-gray-200);
}

/* ── Vertical ── */
.strand-divider--vertical {
	align-self: stretch;
	border-left: 1px solid var(--strand-gray-200);
}

/* ── Labeled ── */
.strand-divider--labeled {
	display: flex;
	align-items: center;
	gap: var(--strand-space-3);
	border-top: 0;
}

.strand-divider__line {
	flex: 1;
	height: 0;
	border-top: 1px solid var(--strand-gray-200);
}

.strand-divider__label {
	font-family: var(--strand-font-mono);
	font-size: var(--strand-text-xs);
	font-weight: var(--strand-weight-medium);
	color: var(--strand-gray-400);
	letter-spacing: var(--strand-tracking-widest);
	text-transform: uppercase;
	white-space: nowrap;
}

/* FormField */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-form-field {
	display: flex;
	flex-direction: column;
	gap: var(--strand-space-2);
}

/* ── Label ── */
.strand-form-field__label {
	font-family: var(--strand-font-sans);
	font-size: var(--strand-text-sm);
	font-weight: var(--strand-weight-medium);
	color: var(--strand-gray-700);
	line-height: var(--strand-leading-snug);
}

/* ── Required indicator ── */
.strand-form-field__required {
	color: var(--strand-red-alert);
	margin-left: var(--strand-space-1);
}

/* ── Control wrapper ── */
.strand-form-field__control {
	display: flex;
	flex-direction: column;
}

/* ── Hint ── */
.strand-form-field__hint {
	margin: 0;
	font-family: var(--strand-font-sans);
	font-size: var(--strand-text-xs);
	color: var(--strand-gray-500);
	line-height: var(--strand-leading-normal);
}

/* ── Error message ── */
.strand-form-field__error {
	margin: 0;
	font-family: var(--strand-font-sans);
	font-size: var(--strand-text-xs);
	color: var(--strand-red-alert);
	line-height: var(--strand-leading-normal);
}

/* Grid */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-grid {
	display: grid;
	overflow: hidden;
	max-width: 100%;
	box-sizing: border-box;
}

.strand-grid > * {
	min-width: 0;
}

/* ── Column utilities ── */
.strand-grid--cols-2 {
	grid-template-columns: repeat(2, 1fr);
}
.strand-grid--cols-3 {
	grid-template-columns: repeat(3, 1fr);
}
.strand-grid--cols-4 {
	grid-template-columns: repeat(4, 1fr);
}

/* ── Gap utilities ── */
.strand-grid--gap-1 {
	gap: var(--strand-space-1);
}
.strand-grid--gap-2 {
	gap: var(--strand-space-2);
}
.strand-grid--gap-3 {
	gap: var(--strand-space-3);
}
.strand-grid--gap-4 {
	gap: var(--strand-space-4);
}
.strand-grid--gap-5 {
	gap: var(--strand-space-5);
}
.strand-grid--gap-6 {
	gap: var(--strand-space-6);
}
.strand-grid--gap-8 {
	gap: var(--strand-space-8);
}

/* Input */
/*! Strand UI | MIT License | dillingerstaffing.com */

.strand-input {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--strand-surface-elevated);
	border: 1px solid var(--strand-gray-200);
	border-radius: var(--strand-radius-md);
	transition: border-color var(--strand-duration-fast) ease, box-shadow var(--strand-duration-fast)
		ease;
}

.strand-input:focus-within {
	border-color: var(--strand-blue-primary);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ── Field ── */
.strand-input__field {
	flex: 1;
	width: 100%;
	padding: var(--strand-space-3) var(--strand-space-4);
	background: transparent;
	border: none;
	font-family: var(--strand-font-sans);
	font-size: var(--strand-text-base);
	color: var(--strand-gray-900);
	outline: none;
}

.strand-input__field::placeholder {
	color: var(--strand-gray-400);
}

/* ── Addons ── */
.strand-input__leading,
.strand-input__trailing {
	display: flex;
	align-items: center;
	color: var(--strand-gray-500);
	font-size: var(--strand-text-sm);
}

.strand-input__leading {
	padding-left: var(--strand-space-3);
}

.strand-input__trailing {
	padding-right: var(--strand-space-3);
}

.strand-input--has-leading .strand-input__field {
	padding-left: var(--strand-space-2);
}

.strand-input--has-trailing .strand-input__field {
	padding-right: var(--strand-space-2);
}

/* ── Error ── */
.strand-input--error {
	border-color: var(--strand-red-alert);
}

.strand-input--error:focus-within {
	border-color: var(--strand-red-alert);
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* ── Disabled ── */
.strand-input--disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.strand-input--disabled .strand-input__field {
	cursor: not-allowed;
}

/* Link */
/*! Strand UI | MIT License | dillingerstaffing.com */

.strand-link {
	color: var(--strand-blue-primary);
	text-decoration: none;
	font-family: var(--strand-font-sans);
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0% 100%;
	background-repeat: no-repeat;
	background-size: 0% 1px;
	transition: background-size var(--strand-duration-normal) var(--strand-ease-out-expo);
	cursor: pointer;
}

.strand-link:hover {
	background-size: 100% 1px;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-link {
		transition: none;
	}
}

/* Nav */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Nav bar ── */
.strand-nav {
	position: relative;
	width: 100%;
	height: 64px;
	background: var(--strand-surface-elevated);
	border-bottom: 1px solid var(--strand-gray-200);
	font-family: var(--strand-font-sans);
}

/* ── Inner layout ── */
.strand-nav__inner {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 var(--strand-space-6);
	max-width: 1280px;
	margin: 0 auto;
}

/* ── Logo ── */
.strand-nav__logo {
	flex-shrink: 0;
	margin-right: var(--strand-space-8);
}

/* ── Desktop items ── */
.strand-nav__items {
	display: flex;
	align-items: center;
	gap: var(--strand-space-6);
	flex: 1;
}

/* ── Links ── */
.strand-nav__link {
	color: var(--strand-gray-600);
	text-decoration: none;
	font-size: var(--strand-text-sm);
	font-weight: var(--strand-weight-medium);
	transition: color var(--strand-duration-fast) ease;
}

.strand-nav__link:hover {
	color: var(--strand-gray-900);
}

.strand-nav__link--active {
	color: var(--strand-blue-primary);
	font-weight: var(--strand-weight-medium);
}

/* ── Actions ── */
.strand-nav__actions {
	display: flex;
	align-items: center;
	gap: var(--strand-space-3);
	margin-left: auto;
}

/* ── Hamburger ── */
.strand-nav__hamburger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-left: auto;
	padding: 0;
	border: none;
	border-radius: var(--strand-radius-md);
	background: transparent;
	color: var(--strand-gray-600);
	cursor: pointer;
	transition: background var(--strand-duration-fast) ease;
}

.strand-nav__hamburger:hover {
	background: var(--strand-gray-200);
}

.strand-nav__hamburger-icon {
	display: block;
	width: 20px;
	height: 2px;
	background: currentColor;
	position: relative;
}

.strand-nav__hamburger-icon::before,
.strand-nav__hamburger-icon::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
}

.strand-nav__hamburger-icon::before {
	top: -6px;
}

.strand-nav__hamburger-icon::after {
	top: 6px;
}

/* ── Mobile menu ── */
.strand-nav__mobile-menu {
	display: none;
	flex-direction: column;
	width: 100%;
	padding: var(--strand-space-4) var(--strand-space-6);
	background: var(--strand-surface-elevated);
	border-bottom: 1px solid var(--strand-gray-200);
}

.strand-nav__mobile-link {
	display: block;
	padding: var(--strand-space-3) 0;
	color: var(--strand-gray-600);
	text-decoration: none;
	font-size: var(--strand-text-sm);
	font-weight: var(--strand-weight-medium);
	transition: color var(--strand-duration-fast) ease;
}

.strand-nav__mobile-link:hover {
	color: var(--strand-gray-900);
}

.strand-nav__mobile-link--active {
	color: var(--strand-blue-primary);
}

/* ── Responsive ── */
@media (max-width: 767px) {
	.strand-nav__items {
		display: none;
	}

	.strand-nav__actions {
		display: none;
	}

	.strand-nav__hamburger {
		display: inline-flex;
	}

	.strand-nav__mobile-menu {
		display: flex;
	}

	.strand-nav {
		height: auto;
		min-height: 64px;
	}
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-nav__link,
	.strand-nav__mobile-link,
	.strand-nav__hamburger {
		transition: none;
	}
}

/* Progress */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Bar base ── */
.strand-progress--bar {
	width: 100%;
	background: var(--strand-gray-200);
	border-radius: var(--strand-radius-full);
	overflow: hidden;
}

/* ── Bar sizes ── */
.strand-progress--bar.strand-progress--sm {
	height: 4px;
}

.strand-progress--bar.strand-progress--md {
	height: 8px;
}

.strand-progress--bar.strand-progress--lg {
	height: 12px;
}

/* ── Bar fill ── */
.strand-progress--bar .strand-progress__fill {
	height: 100%;
	background: var(--strand-blue-primary);
	border-radius: var(--strand-radius-full);
	transition: width var(--strand-duration-normal) ease;
}

/* ── Bar indeterminate ── */
.strand-progress--bar.strand-progress--indeterminate .strand-progress__fill {
	width: 40%;
	animation: strand-progress-shimmer 1.5s ease-in-out infinite;
}

@keyframes strand-progress-shimmer {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(350%);
	}
}

/* ── Ring base ── */
.strand-progress--ring {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ── Ring track and fill ── */
.strand-progress__track {
	stroke: var(--strand-gray-200);
}

.strand-progress__fill {
	stroke: var(--strand-blue-primary);
}

.strand-progress--ring .strand-progress__ring {
	transition: stroke-dashoffset var(--strand-duration-normal) ease;
}

/* ── Ring indeterminate ── */
.strand-progress--ring.strand-progress--indeterminate .strand-progress__ring {
	animation: strand-progress-rotate 1.2s linear infinite;
}

@keyframes strand-progress-rotate {
	to {
		transform: rotate(360deg);
	}
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-progress--bar .strand-progress__fill {
		transition: none;
	}

	.strand-progress--bar.strand-progress--indeterminate .strand-progress__fill {
		animation: none;
		width: 100%;
		opacity: 0.4;
	}

	.strand-progress--ring.strand-progress--indeterminate .strand-progress__ring {
		animation: none;
	}
}

/* Radio */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-radio {
	display: inline-flex;
	align-items: center;
	gap: var(--strand-space-2);
	cursor: pointer;
	user-select: none;
	font-family: var(--strand-font-sans);
	font-size: var(--strand-text-sm);
	color: var(--strand-gray-900);
	line-height: var(--strand-leading-snug);
}

/* ── Hidden native input ── */
.strand-radio__native {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ── Custom visual ── */
.strand-radio__control {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border: 1px solid var(--strand-gray-200);
	border-radius: var(--strand-radius-full);
	background: var(--strand-surface-elevated);
	flex-shrink: 0;
	transition: background var(--strand-duration-fast) ease, border-color var(--strand-duration-fast)
		ease, box-shadow var(--strand-duration-fast) ease;
}

.strand-radio__dot {
	width: 8px;
	height: 8px;
	border-radius: var(--strand-radius-full);
	background: var(--strand-on-blue-primary);
	transform: scale(0);
	transition: transform var(--strand-duration-fast) var(--strand-ease-out-expo);
}

/* ── Focus ring ── */
.strand-radio__native:focus-visible ~ .strand-radio__control {
	border-color: var(--strand-blue-primary);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ── Checked ── */
.strand-radio--checked .strand-radio__control {
	background: var(--strand-blue-primary);
	border-color: var(--strand-blue-primary);
}

.strand-radio--checked .strand-radio__dot {
	transform: scale(1);
}

/* ── Hover ── */
.strand-radio:hover:not(.strand-radio--disabled) .strand-radio__control {
	border-color: var(--strand-blue-indicator);
}

.strand-radio--checked:hover:not(.strand-radio--disabled) .strand-radio__control {
	background: var(--strand-blue-vivid);
	border-color: var(--strand-blue-vivid);
}

/* ── Label ── */
.strand-radio__label {
	color: var(--strand-gray-900);
}

/* ── Disabled ── */
.strand-radio--disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-radio__control,
	.strand-radio__dot {
		transition: none;
	}
}

/* Section */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-section {
	width: 100%;
}

/* ── Variants ── */
.strand-section--standard {
	padding-block: clamp(4rem, 8vw, 8rem);
}

.strand-section--hero {
	padding-block: clamp(6rem, 12vw, 12rem);
}

/* ── Backgrounds ── */
.strand-section--bg-primary {
	background-color: var(--strand-surface-primary);
}

.strand-section--bg-elevated {
	background-color: var(--strand-surface-elevated);
}

.strand-section--bg-recessed {
	background-color: var(--strand-surface-recessed);
}

/* Select */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-select {
	position: relative;
	display: inline-flex;
	align-items: center;
	background: var(--strand-surface-elevated);
	border: 1px solid var(--strand-gray-200);
	border-radius: var(--strand-radius-md);
	transition: border-color var(--strand-duration-fast) ease, box-shadow var(--strand-duration-fast)
		ease;
}

.strand-select:focus-within {
	border-color: var(--strand-blue-primary);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ── Field ── */
.strand-select__field {
	flex: 1;
	width: 100%;
	padding: var(--strand-space-3) var(--strand-space-8) var(--strand-space-3) var(--strand-space-4);
	background: transparent;
	border: none;
	font-family: var(--strand-font-sans);
	font-size: var(--strand-text-base);
	color: var(--strand-gray-900);
	outline: none;
	appearance: none;
	cursor: pointer;
}

/* ── Arrow indicator ── */
.strand-select__arrow {
	position: absolute;
	right: var(--strand-space-3);
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid var(--strand-gray-500);
	pointer-events: none;
}

/* ── Error ── */
.strand-select--error {
	border-color: var(--strand-red-alert);
}

.strand-select--error:focus-within {
	border-color: var(--strand-red-alert);
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* ── Disabled ── */
.strand-select--disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.strand-select--disabled .strand-select__field {
	cursor: not-allowed;
}

/* Skeleton */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-skeleton {
	display: block;
	background: var(--strand-gray-100);
}

/* ── Shimmer ── */
.strand-skeleton--shimmer {
	background: linear-gradient(
		90deg,
		var(--strand-gray-100) 25%,
		var(--strand-gray-50) 50%,
		var(--strand-gray-100) 75%
	);
	background-size: 200% 100%;
	animation: strand-skeleton-shimmer 1.8s ease-in-out infinite;
}

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

/* ── Text variant ── */
.strand-skeleton--text {
	height: 1em;
	border-radius: 4px;
}

/* ── Rectangle variant ── */
.strand-skeleton--rectangle {
	border-radius: var(--strand-radius-md);
}

/* ── Circle variant ── */
.strand-skeleton--circle {
	border-radius: var(--strand-radius-full);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-skeleton--shimmer {
		animation: none;
		background: var(--strand-gray-100);
	}
}

/* Slider */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-slider {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

/* ── Field ── */
.strand-slider__field {
	width: 100%;
	height: 6px;
	appearance: none;
	background: var(--strand-gray-200);
	border-radius: var(--strand-radius-full);
	outline: none;
	cursor: pointer;
	transition: background var(--strand-duration-fast) ease;
}

/* ── Thumb: Webkit ── */
.strand-slider__field::-webkit-slider-thumb {
	appearance: none;
	width: 20px;
	height: 20px;
	background: var(--strand-blue-primary);
	border: 2px solid var(--strand-surface-elevated);
	border-radius: var(--strand-radius-full);
	cursor: pointer;
	box-shadow: var(--strand-elevation-1);
	transition: background var(--strand-duration-fast) ease, transform var(--strand-duration-fast)
		var(--strand-ease-out-expo);
}

.strand-slider__field:hover:not(:disabled)::-webkit-slider-thumb {
	background: var(--strand-blue-vivid);
	transform: scale(1.15);
}

.strand-slider__field:active:not(:disabled)::-webkit-slider-thumb {
	background: var(--strand-blue-deep);
	transform: scale(1.05);
}

/* ── Thumb: Firefox ── */
.strand-slider__field::-moz-range-thumb {
	width: 20px;
	height: 20px;
	background: var(--strand-blue-primary);
	border: 2px solid var(--strand-surface-elevated);
	border-radius: var(--strand-radius-full);
	cursor: pointer;
	box-shadow: var(--strand-elevation-1);
	transition: background var(--strand-duration-fast) ease, transform var(--strand-duration-fast)
		var(--strand-ease-out-expo);
}

.strand-slider__field:hover:not(:disabled)::-moz-range-thumb {
	background: var(--strand-blue-vivid);
	transform: scale(1.15);
}

.strand-slider__field:active:not(:disabled)::-moz-range-thumb {
	background: var(--strand-blue-deep);
	transform: scale(1.05);
}

/* ── Track: Firefox ── */
.strand-slider__field::-moz-range-track {
	height: 6px;
	background: var(--strand-gray-200);
	border-radius: var(--strand-radius-full);
}

/* ── Focus ── */
.strand-slider__field:focus-visible::-webkit-slider-thumb {
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.strand-slider__field:focus-visible::-moz-range-thumb {
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ── Disabled ── */
.strand-slider--disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.strand-slider--disabled .strand-slider__field {
	cursor: not-allowed;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-slider__field::-webkit-slider-thumb {
		transition: none;
	}

	.strand-slider__field::-moz-range-thumb {
		transition: none;
	}
}

/* Spinner */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-spinner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ── Ring ── */
.strand-spinner__ring {
	display: block;
	border: 2px solid var(--strand-gray-200);
	border-top-color: var(--strand-blue-primary);
	border-radius: var(--strand-radius-full);
	animation: strand-spinner-rotate 0.8s linear infinite;
}

/* ── Sizes ── */
.strand-spinner--sm .strand-spinner__ring {
	width: 16px;
	height: 16px;
}

.strand-spinner--md .strand-spinner__ring {
	width: 20px;
	height: 20px;
}

.strand-spinner--lg .strand-spinner__ring {
	width: 32px;
	height: 32px;
}

/* ── Animation ── */
@keyframes strand-spinner-rotate {
	to {
		transform: rotate(360deg);
	}
}

/* ── Screen reader only text ── */
.strand-spinner__sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-spinner__ring {
		animation: none;
		border-style: dotted;
	}
}

/* Stack */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-stack {
	display: flex;
	max-width: 100%;
	box-sizing: border-box;
}

.strand-stack > * {
	min-width: 0;
}

/* ── Direction ── */
.strand-stack--vertical {
	flex-direction: column;
}

.strand-stack--horizontal {
	flex-direction: row;
}

/* ── Alignment ── */
.strand-stack--align-start {
	align-items: flex-start;
}

.strand-stack--align-center {
	align-items: center;
}

.strand-stack--align-end {
	align-items: flex-end;
}

/* Default stretch handled by flexbox default */

/* ── Justification ── */
.strand-stack--justify-start {
	justify-content: flex-start;
}

.strand-stack--justify-center {
	justify-content: center;
}

.strand-stack--justify-end {
	justify-content: flex-end;
}

.strand-stack--justify-between {
	justify-content: space-between;
}

.strand-stack--justify-around {
	justify-content: space-around;
}

/* ── Wrap ── */
.strand-stack--wrap {
	flex-wrap: wrap;
}

/* ── Gap utilities ── */
.strand-stack--gap-1 {
	gap: var(--strand-space-1);
}
.strand-stack--gap-2 {
	gap: var(--strand-space-2);
}
.strand-stack--gap-3 {
	gap: var(--strand-space-3);
}
.strand-stack--gap-4 {
	gap: var(--strand-space-4);
}
.strand-stack--gap-5 {
	gap: var(--strand-space-5);
}
.strand-stack--gap-6 {
	gap: var(--strand-space-6);
}
.strand-stack--gap-8 {
	gap: var(--strand-space-8);
}

/* Switch */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-switch {
	display: inline-flex;
	align-items: center;
	gap: var(--strand-space-2);
	cursor: pointer;
	user-select: none;
	font-family: var(--strand-font-sans);
	font-size: var(--strand-text-sm);
	color: var(--strand-gray-900);
	line-height: var(--strand-leading-snug);
}

/* ── Track ── */
.strand-switch__track {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 40px;
	height: 22px;
	padding: 0;
	border: 1px solid var(--strand-gray-200);
	border-radius: var(--strand-radius-full);
	background: var(--strand-gray-200);
	cursor: pointer;
	flex-shrink: 0;
	transition: background var(--strand-duration-fast) ease, border-color var(--strand-duration-fast)
		ease, box-shadow var(--strand-duration-fast) ease;
}

.strand-switch__track:focus-visible {
	border-color: var(--strand-blue-primary);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
	outline: none;
}

/* ── Thumb ── */
.strand-switch__thumb {
	position: absolute;
	left: 2px;
	width: 16px;
	height: 16px;
	border-radius: var(--strand-radius-full);
	background: var(--strand-surface-elevated);
	box-shadow: var(--strand-elevation-1);
	transition: transform var(--strand-duration-fast) var(--strand-ease-out-expo);
}

/* ── Checked ── */
.strand-switch--checked .strand-switch__track {
	background: var(--strand-blue-primary);
	border-color: var(--strand-blue-primary);
}

.strand-switch--checked .strand-switch__thumb {
	transform: translateX(18px);
}

/* ── Hover ── */
.strand-switch:hover:not(.strand-switch--disabled) .strand-switch__track {
	border-color: var(--strand-blue-indicator);
}

.strand-switch--checked:hover:not(.strand-switch--disabled) .strand-switch__track {
	background: var(--strand-blue-vivid);
	border-color: var(--strand-blue-vivid);
}

/* ── Label ── */
.strand-switch__label {
	color: var(--strand-gray-900);
}

/* ── Disabled ── */
.strand-switch--disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.strand-switch--disabled .strand-switch__track {
	cursor: not-allowed;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-switch__track,
	.strand-switch__thumb {
		transition: none;
	}
}

/* Table */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Wrapper (responsive scroll) ── */
.strand-table-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* ── Table ── */
.strand-table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}

/* ── Header ── */
.strand-table__th {
	padding: var(--strand-space-3) var(--strand-space-4);
	font-family: var(--strand-font-mono);
	font-size: var(--strand-text-xs);
	font-weight: var(--strand-weight-medium);
	letter-spacing: var(--strand-tracking-widest);
	text-transform: uppercase;
	color: var(--strand-gray-500);
	text-align: left;
	border-bottom: 1px solid var(--strand-gray-200);
	white-space: nowrap;
}

/* ── Sort button ── */
.strand-table__sort-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--strand-space-1);
	padding: 0;
	border: none;
	background: none;
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	cursor: pointer;
	white-space: nowrap;
}

.strand-table__sort-btn:hover {
	color: var(--strand-gray-600);
}

.strand-table__sort-indicator {
	font-size: var(--strand-text-xs);
	opacity: 0.6;
}

/* ── Body ── */
.strand-table__td {
	padding: var(--strand-space-3) var(--strand-space-4);
	font-family: var(--strand-font-sans);
	font-size: var(--strand-text-sm);
	color: var(--strand-gray-600);
	border-bottom: 1px solid var(--strand-gray-200);
}

/* ── Row hover ── */
.strand-table__row {
	transition: background var(--strand-duration-fast) ease;
}

.strand-table__row:hover {
	background: var(--strand-blue-glow);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-table__row {
		transition: none;
	}
}

/* Tabs */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Tab list ── */
.strand-tabs [role="tablist"] {
	display: flex;
	gap: var(--strand-space-1);
	border-bottom: 1px solid var(--strand-gray-400);
}

/* ── Tab button ── */
.strand-tabs__tab {
	position: relative;
	padding: var(--strand-space-2) var(--strand-space-4);
	border: none;
	border-bottom: 2px solid transparent;
	background: none;
	font-family: var(--strand-font-sans);
	font-size: var(--strand-text-sm);
	font-weight: var(--strand-weight-medium);
	color: var(--strand-gray-500);
	cursor: pointer;
	transition: color var(--strand-duration-fast) ease, border-color var(--strand-duration-normal)
		var(--strand-ease-out-expo);
}

.strand-tabs__tab:hover {
	color: var(--strand-gray-600);
}

.strand-tabs__tab--active {
	color: var(--strand-blue-primary);
	border-bottom-color: var(--strand-blue-primary);
}

/* ── Panel ── */
.strand-tabs [role="tabpanel"] {
	padding: var(--strand-space-4) 0;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-tabs__tab {
		transition: none;
	}
}

/* Tag */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-tag {
	display: inline-flex;
	align-items: center;
	gap: var(--strand-space-1);
	padding: var(--strand-space-1) var(--strand-space-2);
	border-radius: var(--strand-radius-sm);
	font-family: var(--strand-font-sans);
	font-size: var(--strand-text-xs);
	font-weight: var(--strand-weight-medium);
	line-height: var(--strand-leading-snug);
	white-space: nowrap;
	border: 1px solid transparent;
}

/* ── Solid variant ── */
.strand-tag--solid.strand-tag--default {
	background: var(--strand-surface-recessed);
	color: var(--strand-gray-600);
}

.strand-tag--solid.strand-tag--teal {
	background: rgba(20, 184, 166, 0.1);
	color: var(--strand-on-teal-tint);
}

.strand-tag--solid.strand-tag--blue {
	background: var(--strand-blue-glow);
	color: var(--strand-blue-deep);
}

.strand-tag--solid.strand-tag--amber {
	background: rgba(245, 158, 11, 0.1);
	color: var(--strand-on-amber-tint);
}

.strand-tag--solid.strand-tag--red {
	background: rgba(239, 68, 68, 0.1);
	color: var(--strand-on-red-tint);
}

/* ── Outlined variant ── */
.strand-tag--outlined {
	background: transparent;
}

.strand-tag--outlined.strand-tag--default {
	border-color: var(--strand-gray-200);
	color: var(--strand-gray-600);
}

.strand-tag--outlined.strand-tag--teal {
	border-color: var(--strand-teal-vital);
	color: var(--strand-on-teal-tint);
}

.strand-tag--outlined.strand-tag--blue {
	border-color: var(--strand-blue-primary);
	color: var(--strand-blue-deep);
}

.strand-tag--outlined.strand-tag--amber {
	border-color: var(--strand-amber-caution);
	color: var(--strand-on-amber-tint);
}

.strand-tag--outlined.strand-tag--red {
	border-color: var(--strand-red-alert);
	color: var(--strand-on-red-tint);
}

/* ── Remove button ── */
.strand-tag__remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	background: none;
	color: currentColor;
	opacity: 0.6;
	cursor: pointer;
	border-radius: var(--strand-radius-sm);
	transition: opacity var(--strand-duration-fast) ease;
}

.strand-tag__remove:hover {
	opacity: 1;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-tag__remove {
		transition: none;
	}
}

/* Textarea */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Base ── */
.strand-textarea {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--strand-surface-elevated);
	border: 1px solid var(--strand-gray-200);
	border-radius: var(--strand-radius-md);
	transition: border-color var(--strand-duration-fast) ease, box-shadow var(--strand-duration-fast)
		ease;
}

.strand-textarea:focus-within {
	border-color: var(--strand-blue-primary);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* ── Field ── */
.strand-textarea__field {
	width: 100%;
	min-height: 80px;
	padding: var(--strand-space-3) var(--strand-space-4);
	background: transparent;
	border: none;
	font-family: var(--strand-font-sans);
	font-size: var(--strand-text-base);
	color: var(--strand-gray-900);
	outline: none;
	resize: vertical;
	line-height: var(--strand-leading-normal);
}

.strand-textarea__field::placeholder {
	color: var(--strand-gray-400);
}

/* ── Auto-resize ── */
.strand-textarea--auto-resize .strand-textarea__field {
	resize: none;
	overflow: hidden;
}

/* ── Character count ── */
.strand-textarea__count {
	align-self: flex-end;
	padding: var(--strand-space-1) var(--strand-space-3) var(--strand-space-2);
	font-family: var(--strand-font-sans);
	font-size: var(--strand-text-xs);
	color: var(--strand-gray-500);
}

/* ── Error ── */
.strand-textarea--error {
	border-color: var(--strand-red-alert);
}

.strand-textarea--error:focus-within {
	border-color: var(--strand-red-alert);
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* ── Disabled ── */
.strand-textarea--disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.strand-textarea--disabled .strand-textarea__field {
	cursor: not-allowed;
}

/* Toast */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Container ── */
.strand-toast__container {
	position: fixed;
	right: var(--strand-space-6);
	bottom: var(--strand-space-6);
	z-index: 1100;
	display: flex;
	flex-direction: column-reverse;
	gap: var(--strand-space-3);
	pointer-events: none;
}

/* ── Toast ── */
.strand-toast {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-width: 280px;
	max-width: 420px;
	padding: var(--strand-space-4) var(--strand-space-5);
	background: var(--strand-surface-elevated);
	border-radius: var(--strand-radius-lg);
	border-left: 4px solid transparent;
	box-shadow: var(--strand-elevation-3);
	font-family: var(--strand-font-sans);
	font-size: var(--strand-text-sm);
	pointer-events: auto;
	animation: strand-toast-in var(--strand-duration-normal) var(--strand-ease-out-expo);
}

/* ── Status accents ── */
.strand-toast--info {
	border-left-color: var(--strand-blue-primary);
}

.strand-toast--success {
	border-left-color: var(--strand-green-positive);
}

.strand-toast--warning {
	border-left-color: var(--strand-amber-caution);
}

.strand-toast--error {
	border-left-color: var(--strand-red-alert);
}

/* ── Message ── */
.strand-toast__message {
	flex: 1;
	min-width: 0;
	color: var(--strand-gray-900);
}

/* ── Dismiss button ── */
.strand-toast__dismiss {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-left: var(--strand-space-3);
	padding: 0;
	border: none;
	border-radius: var(--strand-radius-md);
	background: transparent;
	color: var(--strand-gray-500);
	font-size: var(--strand-text-base);
	cursor: pointer;
	transition: background var(--strand-duration-fast) ease, color var(--strand-duration-fast) ease;
}

.strand-toast__dismiss:hover {
	background: var(--strand-gray-200);
	color: var(--strand-gray-600);
}

/* ── Animations ── */
@keyframes strand-toast-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-toast {
		animation: none;
	}

	.strand-toast__dismiss {
		transition: none;
	}
}

/* Tooltip */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Wrapper ── */
.strand-tooltip__wrapper {
	position: relative;
	display: inline-flex;
}

/* ── Tooltip ── */
.strand-tooltip {
	position: absolute;
	z-index: 1200;
	padding: var(--strand-space-1) var(--strand-space-2);
	background: var(--strand-gray-900);
	color: var(--strand-on-blue-primary);
	font-family: var(--strand-font-sans);
	font-size: var(--strand-text-xs);
	border-radius: var(--strand-radius-md);
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity var(--strand-duration-fast) ease;
}

.strand-tooltip--visible {
	opacity: 1;
}

/* ── Positions ── */
.strand-tooltip--top {
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: var(--strand-space-2);
}

.strand-tooltip--bottom {
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-top: var(--strand-space-2);
}

.strand-tooltip--left {
	right: 100%;
	top: 50%;
	transform: translateY(-50%);
	margin-right: var(--strand-space-2);
}

.strand-tooltip--right {
	left: 100%;
	top: 50%;
	transform: translateY(-50%);
	margin-left: var(--strand-space-2);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
	.strand-tooltip {
		transition: none;
	}
}

/* Static */
/*! Strand UI | MIT License | dillingerstaffing.com */

/* ── Presentation mode ──
   Add .strand-static to a parent element to render components
   at full visual fidelity without interaction.
   Use for documentation, showcases, and screenshots. */

.strand-static {
	pointer-events: none;
}

.strand-static [disabled],
.strand-static [aria-disabled="true"] {
	opacity: 1;
	cursor: default;
}

.strand-static .strand-btn:disabled {
	opacity: 1;
	cursor: default;
}

.strand-static .strand-toast {
	position: static;
}

.strand-static .strand-tooltip {
	position: static;
}

.strand-static *,
.strand-static *::before,
.strand-static *::after {
	transition: none !important;
	animation: none !important;
}

/* ── Recessed viewport ──
   The instrument viewport sits below the card surface.
   Use for component previews, showcases, and documentation. */

.strand-viewport {
	background: var(--strand-surface-recessed);
	box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.06);
	border-radius: var(--strand-radius-lg);
	padding: var(--strand-space-6);
}
