#results:open {
	display: grid;
	grid-template-rows: auto 1fr;
	grid-template-areas:
		"results-toolbar"
		"results-list";
	margin: auto;
	padding: 0;
	width: 1200px;
	max-width: 90vw;
	height: 90dvh;
	background: var(--gradient-grey), var(--grey);
	border: none;
	border-radius: 8px;
	outline: none;
	box-shadow: var(--elevation);
	overflow: hidden;
}

@media (width <= 720px) {
	#results:open {
		margin: 0;
		width: 100vw;
		min-width: 320px;
		max-width: 100vw;
		height: 100dvh;
		max-height: 100dvh;
		border-radius: 0;
	}
}

#results:open::backdrop {
	background: var(--backdrop);
	backdrop-filter: blur(8px);
}

/* === TOOLBAR === */

.results-toolbar {
	grid-area: results-toolbar;
	z-index: 100;
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	margin: 0;
	padding: 8px;
	width: 100%;
	height: 56px;
	color: var(--white);
	line-height: 100%;
	background: var(--gradient-green), var(--green);
	border-radius: 8px 8px 0 0;
	box-shadow: var(--elevation);
}

@media (width <= 720px) {
	.results-toolbar {
		flex-flow: row-reverse nowrap;
		margin: 0;
		width: 100%;
		border-radius: 0;
	}
}

#results-close,
#results-delete {
	appearance: none;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 8px;
	width: 40px;
	height: 40px;
	color: inherit;
	background: transparent;
	border: none;
	outline: none;
	cursor: pointer;
}

#results-list {
	grid-area: results-list;
	display: flex;
	margin: 0;
	padding: 0;
	overflow: auto;
}

#results-list-cards {
	list-style-type: none;
	display: flex;
	flex-flow: column nowrap;
	margin: 0;
	padding: 8px;
	min-width: 100%;
	min-height: 100%;
}

.results-list-card {
	display: grid;
	grid-template-columns: 4fr 2fr 1fr;
	grid-template-areas:
		"topic last best";
	margin: 8px;
	padding: 8px;
	color: var(--green);
	background: var(--gradient-white), var(--white);
	border-radius: 4px;
	//box-shadow: var(--elevation);
}

@media (width <= 720px) {
	.results-list-card {
		grid-template-columns: 3fr 1fr;
		grid-template-areas:
			"topic best"
			"last best";
	}
}

.results-list-card-topic {
	grid-area: topic;
	margin: 4px;
	padding: 0;
	font-family: dinpro-medium;
	font-weight: normal;
	font-size: 1rem;
}

.results-list-card-best {
	grid-area: best;
	justify-self: end;
	align-self: center;
	margin: 4px;
	padding: 0;
	font-size: 1.2rem;
}

.results-list-card-last {
	grid-area: last;
	margin: 4px;
	padding: 0;
}

.results-list-placeholder {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 8px;
	padding: 0;
	width: calc(100% - 16px);
	height: calc(100% - 16px);
	font-size: 4rem;
	color: var(--green);
}