:root {
    color-scheme: light dark;
    --line: #d0d3d9;
    --accent: #2f6f4f;
    --muted: #6b7280;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.5;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--line);
}

.nav .brand { font-weight: 700; text-decoration: none; color: var(--accent); }
.nav-links { display: flex; gap: 1rem; flex: 1; }
.nav a { text-decoration: none; color: inherit; }
.nav a:hover { text-decoration: underline; }
.session .ok { color: var(--accent); font-size: 0.9rem; }

.content { padding: 1.25rem 1.5rem; max-width: 1100px; }

h1 { font-size: 1.4rem; }

table { border-collapse: collapse; width: 100%; margin-top: 0.5rem; }
th, td { text-align: left; padding: 0.4rem 0.6rem; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
th { color: var(--muted); font-weight: 600; }
code { font-family: ui-monospace, "Cascadia Code", monospace; }

.hint { color: var(--muted); }
.error { color: #b3261e; }

input[type="text"], input[type="password"], textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    font: inherit;
}

button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
}
