.ac-upload-field.ac-uploader-is-ready {
	display: grid;
	gap: 10px;
}

.ac-uploader__input {
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	min-height: 1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	white-space: nowrap !important;
	width: 1px !important;
}

.ac-uploader__dropzone {
	align-items: center;
	appearance: none;
	background:
		linear-gradient(135deg, rgba(23, 92, 255, .06), rgba(209, 58, 47, .035)),
		var(--ac-white, #fff);
	border: 1px dashed var(--ac-line-strong, #b8c6ce);
	border-radius: var(--ac-radius-md, 16px);
	color: var(--ac-heading, #091426);
	cursor: pointer;
	display: grid;
	font: inherit;
	gap: 5px 13px;
	grid-template-columns: 42px minmax(0, 1fr);
	min-height: 132px;
	padding: 20px 16px;
	text-align: left;
	transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
	width: 100%;
}

.ac-uploader__dropzone:hover,
.ac-uploader__dropzone.is-dragging {
	background:
		linear-gradient(135deg, rgba(23, 92, 255, .12), rgba(209, 58, 47, .055)),
		var(--ac-white, #fff);
	border-color: var(--ac-secondary, #175cff);
	box-shadow: 0 0 0 4px rgba(23, 92, 255, .08);
}

.ac-uploader__dropzone.is-dragging {
	transform: translateY(-2px);
}

.ac-uploader__dropzone:focus-visible {
	border-color: var(--ac-secondary, #175cff);
	outline: 3px solid var(--ac-secondary, #175cff);
	outline-offset: 3px;
}

.ac-uploader__dropzone.is-full {
	background: var(--ac-surface, #f3f2ee);
	cursor: not-allowed;
	opacity: .78;
}

.ac-uploader__icon {
	align-items: center;
	align-self: start;
	background: var(--ac-primary, #0a1833);
	border-radius: 12px;
	color: var(--ac-white, #fff);
	display: inline-flex;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.ac-uploader__icon svg {
	fill: none;
	height: 22px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 22px;
}

.ac-uploader__prompt {
	display: grid;
	gap: 1px;
	line-height: 1.35;
}

.ac-uploader__prompt strong {
	color: var(--ac-secondary, #175cff);
	font-size: .98rem;
	font-weight: 790;
}

.ac-uploader__prompt span,
.ac-uploader__hint {
	color: var(--ac-muted, #687189);
	font-size: .78rem;
}

.ac-uploader__hint {
	grid-column: 1 / -1;
	line-height: 1.4;
}

.ac-uploader__summary {
	align-items: center;
	color: var(--ac-heading, #091426);
	display: flex;
	flex-wrap: wrap;
	font-size: .78rem;
	gap: 4px 12px;
	justify-content: space-between;
}

.ac-uploader__summary[hidden] {
	display: none;
}

.ac-uploader__summary strong {
	font-weight: 770;
}

.ac-uploader__summary span {
	color: var(--ac-muted, #687189);
}

.ac-uploader__list {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ac-uploader__file {
	align-items: center;
	background: var(--ac-white, #fff);
	border: 1px solid var(--ac-line, #d7e0e5);
	border-radius: var(--ac-radius-sm, 10px);
	display: flex;
	gap: 12px;
	justify-content: space-between;
	min-width: 0;
	padding: 10px 10px 10px 13px;
}

.ac-uploader__file-detail {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.ac-uploader__file-detail strong {
	color: var(--ac-heading, #091426);
	display: block;
	font-size: .82rem;
	font-weight: 720;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ac-uploader__file-detail small {
	color: var(--ac-muted, #687189);
	font-size: .71rem;
}

.ac-uploader__remove {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 1px solid var(--ac-line, #d7e0e5);
	border-radius: 8px;
	color: var(--ac-muted, #687189);
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 auto;
	font: inherit;
	font-size: 1.25rem;
	height: 38px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	width: 38px;
}

.ac-uploader__remove:hover {
	background: #fef3f2;
	border-color: #fecdca;
	color: var(--ac-error, #b42318);
}

.ac-uploader__remove:focus-visible {
	outline: 3px solid var(--ac-secondary, #175cff);
	outline-offset: 2px;
}

.ac-uploader__live {
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	overflow: hidden !important;
	position: absolute !important;
	white-space: nowrap !important;
	width: 1px !important;
}

@media (min-width: 600px) {
	.ac-uploader__dropzone {
		gap: 4px 16px;
		grid-template-columns: 48px minmax(0, 1fr) auto;
		min-height: 118px;
		padding: 22px;
	}

	.ac-uploader__icon {
		height: 48px;
		width: 48px;
	}

	.ac-uploader__hint {
		align-self: center;
		grid-column: auto;
		max-width: 190px;
		text-align: right;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ac-uploader__dropzone {
		transition: none;
	}
}
