
/* ==========================================================================
	    1. GLOBAL SYSTEM RESETS & VARIABLE BASELINE
	    ========================================================================== */
:root {
    --bg-workspace: #f1f5f9;      /* Slate-100 industrial background */
    --text-heavy: #0f172a;        /* Deep slate-900 for high readability */
    --text-muted: #475569;        /* Slate-600 for metadata labels */
    --brand-navy: #1e3a8a;        /* Primary corporate accent */
    --border-rigid: #cbd5e1;      /* Crisp grid lines */
    
    --font-size-base: 18px;       
    --font-size-h1: 28px;         
    --font-size-h2: 14px;         
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-heavy);
    background-color: var(--bg-workspace); /* Restored the original slate workspace color */
    line-height: 1.4;
    margin: 0 auto;       /* Keeps the report perfectly centered */
    max-width: 1400px;    /* Restored the original full report width */  
    padding: 40px;        /* Restored page margins perfect for report exports */
}

/* ==========================================================================
	    2. HEADER & BRANDING
	    ========================================================================== */
#container {
    max-width: 860px; /* Equivalent to your ~85ch requirement at 18px font-size */
    margin: 0;
    width: 100%;
}

header {
    border-bottom: 3px double var(--text-heavy);
    padding-bottom: 6px;
    margin-bottom: 32px;
}

h1 {
    font-size: var(--font-size-h1);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin: 0;
    color: var(--brand-navy); /* Restored Deep Industrial Navy Blue */
}

/* ==========================================================================
	    3. DOCUMENT BODY STYLING
	    ========================================================================== */
h2 {
    font-size: var(--font-size-h2);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 10px;
    margin-bottom: 12px;
    padding-bottom: 6px;
}

p {
    font-size: var(--font-size-base);
    max-width: 85ch;
    margin: 0 0 16px 0;
}

/* ==========================================================================
	    4. VISUALIZATION PLACEHOLDERS
	    ========================================================================== */
.plot-placeholder {
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 14px;
    background: #f8fafc;
    color: #b91c1c; /* Crimson text color for parameter strings */
    border: 1px dashed var(--border-rigid);
    padding: 24px;
    margin-bottom: 20px;
}


footer {
    margin-top: 48px;
    border-top: 1px solid var(--border-rigid);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-meta);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
