:root {
    --fg: #1c1f24;
    --muted: #5c6570;
    --bg: #f7f8fa;
    --card: #ffffff;
    --border: #dde1e6;
    --accent: #2657a3;
    --danger: #b3261e;
    --ok: #1e7a34;
}
* { box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--fg);
    margin: 0;
    line-height: 1.5;
}
header.site {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
}
header.site a { color: var(--fg); text-decoration: none; font-weight: 600; }
main {
    max-width: 720px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}
h1 { font-size: 1.4rem; }
h2 { font-size: 1.1rem; }
label { display: block; font-weight: 600; margin: 0.75rem 0 0.25rem; }
input[type=text], input[type=email], input[type=password], textarea, select {
    width: 100%;
    padding: 0.5rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
}
textarea { min-height: 6rem; resize: vertical; }
button, .btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    text-decoration: none;
}
button.danger, .btn.danger { background: var(--danger); }
button.secondary, .btn.secondary { background: #6b7280; }
.muted { color: var(--muted); font-size: 0.9rem; }
.status-active { color: var(--danger); font-weight: 600; }
.status-delisted { color: var(--ok); font-weight: 600; }
.flash-error { background: #fdeceb; border: 1px solid var(--danger); color: var(--danger); padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 1rem; }
.flash-ok { background: #eaf6ec; border: 1px solid var(--ok); color: var(--ok); padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 1rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
nav.admin-nav a { margin-right: 1rem; color: var(--accent); text-decoration: none; font-weight: 600; }
.pill { display: inline-block; padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.8rem; background: #eef1f5; }
