:root {
    --bg: #f5f6fa;
    --surface: #ffffff;
    --border: #e1e4e8;
    --text: #1f2328;
    --text-muted: #6b7280;
    --accent: #3b5bdb;
    --accent-hover: #2f4bc7;
    --error: #d64545;
    --radius: 10px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
}

header.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header.site-header h1 {
    font-size: 1.25rem;
    margin: 0;
}

nav.site-nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
}

nav.site-nav a.active,
nav.site-nav a:hover {
    color: var(--accent);
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

h2 {
    margin-top: 0;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

form.card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

input, textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

button {
    align-self: flex-start;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

button:hover {
    background: var(--accent-hover);
}

.bulletin-title {
    margin: 0 0 0.25rem;
    font-size: 1.05rem;
}

.bulletin-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.bulletin-description {
    margin: 0;
    white-space: pre-wrap;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

th, td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
}

th {
    background: #fafbfc;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted);
}

tr:last-child td {
    border-bottom: none;
}

.empty-state, .status-message {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.status-message.error {
    color: var(--error);
}
