.vpbryc-browser {
	border: 1px solid #d7dce3;
	border-radius: 14px;
	padding: 1.5rem;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.vpbryc-browser--notice {
	padding: 1rem 1.25rem;
}

.vpbryc-tree {
	margin: 0;
	padding-left: 1.2rem;
	list-style: none;
}

.vpbryc-tree__item {
	margin: 0.4rem 0;
}

.vpbryc-folder {
	border-left: 2px solid #dbe4ef;
	padding-left: 0.85rem;
}

.vpbryc-folder__summary {
	cursor: pointer;
	font-weight: 600;
	color: #13315c;
	list-style: none;
}

.vpbryc-folder__summary::-webkit-details-marker {
	display: none;
}

.vpbryc-folder__summary::before {
	content: "+";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.2rem;
	height: 1.2rem;
	margin-right: 0.45rem;
	border-radius: 999px;
	background: #e6eef8;
	color: #13315c;
	font-size: 0.9rem;
}

.vpbryc-folder[open] > .vpbryc-folder__summary::before {
	content: "-";
}

.vpbryc-folder__children {
	margin-top: 0.6rem;
}

.vpbryc-recent-list {
	display: grid;
	gap: 0.8rem;
}

.vpbryc-file {
	padding: 0.8rem 0.95rem;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #ffffff;
}

.vpbryc-file__content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem;
}

.vpbryc-file__text {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 0.2rem;
}

.vpbryc-file__name {
	font-weight: 500;
	color: #1f2937;
	overflow-wrap: anywhere;
}

.vpbryc-file__actions {
	display: inline-flex;
	flex-wrap: nowrap;
	justify-self: end;
	gap: 0.5rem;
}

.vpbryc-file__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 0.85rem;
	border-radius: 999px;
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 600;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vpbryc-file__link:hover,
.vpbryc-file__link:focus {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
}

.vpbryc-file__link--view {
	background: #13315c;
	color: #ffffff;
}

.vpbryc-file__link--download {
	background: #e8f1fb;
	color: #13315c;
}


.vpbryc-archive {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #dbe4ef;
}

.vpbryc-archive__summary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 0.85rem;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	background: #ffffff;
	color: #13315c;
	cursor: pointer;
	font-weight: 600;
	list-style: none;
}

.vpbryc-archive__summary::-webkit-details-marker {
	display: none;
}

.vpbryc-archive__summary::after {
	content: "+";
	font-weight: 700;
}

.vpbryc-archive[open] > .vpbryc-archive__summary::after {
	content: "-";
}

.vpbryc-archive__years {
	margin-top: 1rem;
}

.vpbryc-browser__empty {
	margin: 0;
	color: #475569;
}

.vpbryc-file__embed-wrap {
	margin-top: 0.9rem;
}

.vpbryc-file__embed {
	width: 100%;
	min-height: 720px;
	border: 1px solid #dbe4ef;
	border-radius: 10px;
	background: #f8fafc;
}

.vpbryc-block-preview__content {
	pointer-events: none;
}

@media (max-width: 640px) {
	.vpbryc-browser {
		padding: 1rem;
	}

	.vpbryc-tree {
		padding-left: 0;
	}

	.vpbryc-folder {
		padding-left: 0.65rem;
	}

	.vpbryc-file__content {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.6rem;
	}

	.vpbryc-file__actions {
		gap: 0.35rem;
	}

	.vpbryc-file__link {
		padding: 0.5rem 0.7rem;
		font-size: 0.88rem;
	}

	.vpbryc-file__embed {
		min-height: 480px;
	}
}
