:root {
    /* Formal Dark Mode Palette */
    --bg-base: #09090b;             /* Pure dark background */
    --bg-card: #121214;             /* Slightly lighter for documents */
    --bg-card-hover: #18181b;
    
    /* Strict Contrast Typography */
    --text-main: #f4f4f5;           /* Off-white for readability */
    --text-muted: #a1a1aa;          /* Professional gray */
    --border-color: #27272a;        /* Thin, subtle borders */
    
    --brand-accent: #ffffff;        /* Pure white for highlights/buttons */
    
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
}

.container { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* --- Formal Header --- */
.site-header {
    background-color: var(--bg-base);
    border-bottom: 1px solid var(--border-color);
    position: sticky; top: 0; z-index: 100;
}
.header-content { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.logo img { height: 32px; width: auto; opacity: 0.9; }
.header-actions { display: flex; align-items: center; gap: 16px; }

/* --- Compact Hero & Meta Info --- */
.hero { padding: 40px 0 32px 0; border-bottom: 1px solid var(--border-color); margin-bottom: 32px; }
.hero h1 { font-size: 2rem; font-weight: 700; margin-bottom: 8px; color: var(--text-main); letter-spacing: -0.5px; }
.hero p { color: var(--text-muted); font-size: 1rem; }

.hero-meta { 
    display: flex; gap: 24px; margin-top: 20px; 
    padding: 16px; background: var(--bg-card); 
    border: 1px solid var(--border-color); border-radius: 6px;
    font-size: 0.9rem; flex-wrap: wrap;
}
.hero-meta span { display: flex; align-items: center; gap: 8px; color: var(--text-main); }
.hero-meta strong { color: var(--text-muted); font-weight: normal; }

/* --- Document Cards --- */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 24px;
}
.card h3 { 
    font-size: 1.1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; 
    border-bottom: 1px solid var(--border-color); padding-bottom: 12px;
}
.card-content p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 8px; }

/* --- Tabular Agenda List --- */
.agenda-list { list-style: none; }
.agenda-list li { 
    display: flex; padding: 12px 0; 
    border-bottom: 1px solid var(--border-color); 
    font-size: 0.95rem; line-height: 1.4;
}
.agenda-list li:last-child { border-bottom: none; padding-bottom: 0; }
.agenda-list li strong { width: 65px; flex-shrink: 0; color: var(--text-muted); }

/* --- Attachments List --- */
.attachments h2 { font-size: 1.25rem; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 12px; }
.file-list { list-style: none; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 6px; }
.file-list li { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 16px 20px; border-bottom: 1px solid var(--border-color); 
}
.file-list li:last-child { border-bottom: none; }
.file-info { display: flex; align-items: center; gap: 16px; }
.file-icon { font-size: 1.25rem; opacity: 0.7; }
.file-info strong { display: block; color: var(--text-main); font-size: 0.95rem; }
.file-info span { font-size: 0.8rem; color: var(--text-muted); }

/* --- Formal Buttons --- */
.btn { text-decoration: none; font-weight: 500; transition: 0.2s; cursor: pointer; border-radius: 4px; display: inline-block; font-size: 0.85rem; }
.btn-primary { background: #ffffff; color: #000000; padding: 8px 16px; }
.btn-primary:hover { background: #d4d4d8; }
.btn-outline { border: 1px solid var(--border-color); color: var(--text-main); padding: 6px 12px; }
.btn-outline:hover { background: var(--border-color); }

@media (max-width: 600px) {
    .hero-meta { flex-direction: column; gap: 12px; }
    .agenda-list li { flex-direction: column; gap: 4px; }
    .agenda-list li strong { width: auto; }
}