/* Enough to make the skeleton legible, and no design decisions beyond that -
they belong to the application, not to the boilerplate. */
:root {
--bg: #ffffff;
--fg: #1a1a1a;
--muted: #6b7280;
--line: #e5e7eb;
--accent: #2563eb;
--error: #b91c1c;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #111318;
--fg: #e8e8ea;
--muted: #9ca3af;
--line: #2a2e37;
--accent: #60a5fa;
--error: #f87171;
}
}
* { box-sizing: border-box; }
body {
margin: 0;
background: var(--bg);
color: var(--fg);
font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.topbar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.75rem 1.25rem;
border-bottom: 1px solid var(--line);
}
.brand { font-weight: 600; text-decoration: none; color: var(--fg); }
.topbar nav a { color: var(--muted); text-decoration: none; margin-left: 1rem; }
.topbar nav a:hover { color: var(--fg); }
.content { max-width: 60rem; margin: 0 auto; padding: 2rem 1.25rem; }
.card {
max-width: 26rem;
margin: 3rem auto;
padding: 1.75rem;
border: 1px solid var(--line);
border-radius: 10px;
}
.card h1 { margin: 0 0 1.25rem; font-size: 1.35rem; }
label { display: block; margin-bottom: 1rem; color: var(--muted); font-size: 0.9rem; }
input {
display: block;
width: 100%;
margin-top: 0.35rem;
padding: 0.6rem 0.7rem;
border: 1px solid var(--line);
border-radius: 6px;
background: var(--bg);
color: var(--fg);
font-size: 1rem;
}
input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
button {
width: 100%;
padding: 0.65rem 1rem;
border: 0;
border-radius: 6px;
background: var(--accent);
color: #fff;
font-size: 1rem;
cursor: pointer;
}
button:disabled { opacity: 0.6; cursor: default; }
.error { color: var(--error); font-size: 0.9rem; }
.divider {
display: flex;
align-items: center;
gap: 0.75rem;
margin: 1.25rem 0;
color: var(--muted);
font-size: 0.85rem;
}
.divider::before,
.divider::after {
content: "";
flex: 1;
border-top: 1px solid var(--line);
}
.button-secondary {
display: block;
padding: 0.65rem 1rem;
border: 1px solid var(--line);
border-radius: 6px;
color: var(--fg);
font-size: 1rem;
text-align: center;
text-decoration: none;
}
.button-secondary:hover { border-color: var(--accent); }
pre {
overflow-x: auto;
padding: 0.75rem;
border: 1px solid var(--line);
border-radius: 6px;
font-size: 0.85rem;
}