:root { color-scheme: light dark; }
body { font-family: -apple-system, system-ui, sans-serif; max-width: 960px; margin: 2rem auto; padding: 0 1rem; line-height: 1.5; }
nav { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; border-bottom: 1px solid #8888; padding-bottom: 0.75rem; }
nav a { text-decoration: none; font-weight: 600; }
nav .spacer { flex: 1; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
th, td { text-align: left; padding: 0.4rem 0.6rem; border-bottom: 1px solid #8884; font-size: 0.9rem; }
th { font-weight: 600; }
.badge { display: inline-block; padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; }
.badge-active { background: #2a7f4f33; color: #2a7f4f; }
.badge-soon { background: #b8860b33; color: #b8860b; }
.badge-expired { background: #c0392b33; color: #c0392b; }
label { display: block; margin-top: 0.75rem; font-weight: 600; font-size: 0.9rem; }
input, textarea, select { width: 100%; padding: 0.4rem; margin-top: 0.25rem; box-sizing: border-box; font-family: inherit; }
textarea { font-family: monospace; font-size: 0.8rem; }
button { margin-top: 1rem; padding: 0.5rem 1rem; font-weight: 600; cursor: pointer; }
.hint { color: #888; font-size: 0.85rem; }
label.check { font-weight: 400; margin-top: 0.3rem; }
label.check input { width: auto; margin-right: 0.4rem; }
.err { background: #c0392b22; border: 1px solid #c0392b88; padding: 0.6rem 1rem; border-radius: 6px; margin-bottom: 1rem; }
.nav-form { margin: 0; }
.nav-form button { margin-top: 0; }
.who { font-size: 0.85rem; color: #888; }
.ok { background: #2a7f4f22; border: 1px solid #2a7f4f88; padding: 0.6rem 1rem; border-radius: 6px; margin-bottom: 1rem; }
.warn { background: #b8860b22; border: 1px solid #b8860b88; padding: 0.6rem 1rem; border-radius: 6px; margin-bottom: 1rem; }
code, .mono { font-family: ui-monospace, monospace; font-size: 0.85rem; word-break: break-all; }
.card { border: 1px solid #8886; border-radius: 8px; padding: 0.75rem 1rem; margin: 1rem 0; }
.narrow { max-width: 420px; margin: 4rem auto; }
