* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	font-family:
		system-ui,
		-apple-system,
		sans-serif;
	background: #f5f5f5;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
main {
	background: white;
	border-radius: 12px;
	padding: 40px;
	max-width: 800px;
	width: 100%;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	display: flex;
	gap: 30px;
	flex-direction: column;
}
header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	width: 100%;
	letter-spacing: 1px;
}
header a {
	text-decoration: none;
}
header h2 {
	font-size: 1.25rem;
	font-weight: normal;
}
#preview {
	min-height: 100px;
}
#preview svg {
	border: 1px solid #ddd;
	border-radius: 8px;
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
}
#preview:empty::before {
	content: 'Preview will appear here';
	color: #999;
}
#url {
	background: #f0f0f0;
	padding: 12px 16px;
	border-radius: 6px;
	font-family: monospace;
	font-size: 14px;
	word-break: break-all;
}
form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 16px;
}
label {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 14px;
	color: #666;
}
input {
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.2s;
}
input:focus {
	outline: none;
	border-color: #0066cc;
}
#examples {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
a {
	color: black !important;
}
a:hover {
	opacity: 0.8;
}
pre {
	white-space: pre-wrap;
	word-wrap: break-word;
}
