:root {
	color-scheme: light;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #182230;
	background: #f3f6fa;
	font-synthesis: none;
	text-rendering: optimizeLegibility;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-width: 320px;
}

.page {
	width: min(100% - 32px, 980px);
	margin: 0 auto;
	padding: 44px 0 28px;
}

.masthead {
	margin-bottom: 30px;
}

.brand {
	color: #155eef;
	font-size: 1.15rem;
	font-weight: 750;
	letter-spacing: .08em;
	text-decoration: none;
}

.masthead p,
.hint,
footer {
	color: #667085;
}

.masthead p {
	margin: 8px 0 0;
}

.search-panel,
.results {
	border: 1px solid #e4e7ec;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 24px rgb(16 24 40 / 5%);
}

.search-panel {
	padding: 26px;
}

h1,
h2 {
	margin: 0;
	letter-spacing: -.025em;
}

h1 {
	font-size: 1.5rem;
	margin-bottom: 20px;
}

form label {
	display: block;
	font-size: .9rem;
	font-weight: 650;
	margin-bottom: 8px;
}

.search-row {
	display: flex;
	gap: 10px;
}

input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid #cfd4dc;
	border-radius: 8px;
	font: inherit;
	color: inherit;
}

.object-type-control {
	width: min(100%, 230px);
	margin-top: 16px;
}

.object-type-control label {
	font-size: .8rem;
}

.object-type-control select {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #cfd4dc;
	border-radius: 8px;
	background: #fff;
	font: .88rem system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: inherit;
}

.object-type-control select:focus {
	border-color: #528bff;
	outline: 3px solid rgb(82 139 255 / 20%);
}

input[type="search"]:focus {
	border-color: #528bff;
	outline: 3px solid rgb(82 139 255 / 20%);
}

button {
	border: 0;
	border-radius: 8px;
	padding: 0 20px;
	background: #155eef;
	color: #fff;
	font: inherit;
	font-weight: 650;
	cursor: pointer;
}

button:hover {
	background: #004eeb;
}

button.button-secondary {
	border: 1px solid #155eef;
	background: #fff;
	color: #155eef;
}

button.button-secondary:hover {
	background: #eff4ff;
}

.hint {
	font-size: .84rem;
	margin: 10px 0 0;
}

.message {
	margin-top: 18px;
	padding: 12px 15px;
	border-radius: 8px;
}

.message-error {
	color: #912018;
	background: #fef3f2;
	border: 1px solid #fecdca;
}

.message-warning {
	color: #7a2e0e;
	background: #fff7ed;
	border: 1px solid #fed7aa;
}

.results {
	margin-top: 22px;
	overflow: hidden;
}

.results-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	border-bottom: 1px solid #e4e7ec;
}

.results-heading h2 {
	font-size: 1.05rem;
	overflow-wrap: anywhere;
}

.new-search {
	color: #155eef;
	font-size: .9rem;
	text-decoration: none;
	white-space: nowrap;
}

.new-search:hover,
pre a:hover {
	text-decoration: underline;
}

pre {
	margin: 0;
	padding: 22px;
	overflow: auto;
	background: #fbfcfe;
	color: #27364b;
	font: 0.875rem/1.65 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

pre a {
	color: #155eef;
	text-decoration: none;
}

footer {
	padding: 22px 4px 0;
	font-size: .82rem;
}

@media (max-width: 560px) {
	.page {
		width: min(100% - 20px, 980px);
		padding-top: 26px;
	}

	.search-panel {
		padding: 20px 16px;
	}

	.search-row {
		flex-direction: column;
	}

	button {
		min-height: 44px;
	}

	.results-heading {
		align-items: flex-start;
		padding: 16px;
	}

	pre {
		padding: 16px;
		font-size: .8rem;
	}
}
