.las-widget .las-open-button {
	background: none;
	border: none;
	color: #08c41b !important;
	cursor: pointer;
	font-size: inherit;
	font-weight: inherit;
	padding: 0;
	transition: opacity 0.15s ease, color 0.15s ease;
	text-decoration: none !important;
	font-family: inherit;
}

.las-widget .las-open-button:hover {
	box-shadow: none;
	transform: none;
	opacity: 0.7;
	color: #08c41b !important;
}

.las-modal-overlay {
	align-items: center;
	background: rgba(15, 23, 42, 0.72);
	display: flex;
	justify-content: center;
	inset: 0;
	padding: 24px;
	position: fixed;
	z-index: 99999;
}

.las-modal {
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
	max-height: 85vh;
	max-width: 960px;
	overflow: hidden;
	width: min(96vw, 960px);
}

.las-modal-header {
	align-items: center;
	border-bottom: 1px solid #e5e7eb;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 18px 22px;
}

.las-modal-title {
	font-size: 18px;
	font-weight: 700;
	margin: 0;
}

.las-modal-close {
	background: none;
	border: 0;
	border-radius: 999px;
	color: #22c55e;
	cursor: pointer;
	font-size: 22px;
	height: 38px;
	line-height: 1;
	width: 38px;
	transition: color 0.15s ease;
}

.las-modal-close:hover {
	color: #16a34a;
}

.las-modal-body {
	max-height: calc(85vh - 74px);
	overflow: auto;
	padding: 22px;
}

.las-loading,
.las-empty,
.las-empty-item {
	color: #6b7280;
	font-size: 15px;
	padding: 12px 0;
}

.las-tree {
	list-style: none;
	margin: 0;
	padding-left: 18px;
}

.las-tree-root {
	padding-left: 0;
}

.las-item {
	margin: 0;
	padding: 4px 0;
}

.las-item-row {
	align-items: flex-start;
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	padding: 4px 0;
}

.las-icon {
	font-size: 18px;
	line-height: 1.2;
	margin-top: 1px;
	flex: 0 0 auto;
}

.las-name {
	color: #111827;
	flex: 1 1 auto;
	font-weight: 600;
	min-width: 0;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.las-file-link {
	color: #0dba41;
	display: block;
	text-decoration: underline;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.las-file-link:hover {
	opacity: 0.7;
}

.las-path,
.las-meta {
	display: none;
	color: #6b7280;
	font-size: 13px;
}

.las-toggle {
	background: none;
	border: none;
	color: #22c55e !important;
	cursor: pointer;
	font-size: 12px;
	padding: 0;
	margin: 0 4px 0 0;
	width: 16px;
	height: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, color 0.15s ease;
	min-width: 16px;
	min-height: 16px;
	outline: none;
}

.las-toggle:hover,
.las-toggle:focus,
.las-toggle:focus-visible,
.las-toggle:active {
	color: #16a34a !important;
	outline: none;
	box-shadow: none;
}

.las-folder.collapsed > .las-tree {
	display: none;
}

.las-folder.collapsed > .las-item-row .las-toggle {
	transform: rotate(-90deg);
}

.las-folder > .las-tree {
	margin-left: 12px;
	padding-left: 16px;
	border-left: 1px dashed #d1d5db;
}

@media (max-width: 640px) {
	.las-modal-overlay {
		padding: 12px;
	}

	.las-modal-body {
		padding: 16px;
	}

	.las-modal-header {
		padding: 14px 16px;
	}
}
