/* 
   TECH LOG STYLE for the Hazelverse 
   Triggered by adding 'haze-tech-log' to cssclasses 
*/

.markdown-rendered.haze-tech-log,
div.haze-tech-log {
    /* Mimics an engineering blueprint or technical graph paper */
    background-color: #f4f7f6; 
    background-image: 
        linear-gradient(rgba(44, 62, 80, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(44, 62, 80, 0.15) 1px, transparent 1px);
    background-size: 20px 20px; /* Grid effect */
    padding: 3rem !important;
    border-left: 15px solid #2c3e50; /* Dark slate blue spine, contrasting the organic brown of field notes */
    font-family: 'Courier New', monospace; /* Monospace body text for technical reading */
    line-height: 1.8rem;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.5); /* Ties into the global Neo-Brutalist hard shadows! */
    color: #111;
}

/* Style for the 'System' or 'Date' at the top */
.markdown-rendered.haze-tech-log h1,
div.haze-tech-log h1 {
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #2c3e50;
    border-bottom: 2px solid #2c3e50;
    margin-bottom: 2rem;
    background: transparent;
    box-shadow: none;
}

/* Style for "Protocol" or "Error" headers */
.markdown-rendered.haze-tech-log h2,
div.haze-tech-log h2 {
    font-family: 'Courier New', monospace;
    font-size: 1.2em;
    background: #2c3e50;
    color: #f4f7f6;
    padding: 5px 10px;
    display: inline-block;
    margin-top: 2rem;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3); /* Brutalist touch */
}

/* Make code blocks stand out sharply against the grid */
.markdown-rendered.haze-tech-log pre,
div.haze-tech-log pre {
    background-color: #1e1e1e !important;
    color: #d4d4d4 !important;
    border: 2px solid #2c3e50;
    border-radius: 0px; /* Sharp brutalist corners */
    box-shadow: 6px 6px 0px rgba(44, 62, 80, 0.4);
    padding: 1.5rem;
}

/* Special styling for inline code */
.markdown-rendered.haze-tech-log code,
div.haze-tech-log code {
    background-color: rgba(44, 62, 80, 0.1);
    color: #c0392b; /* Punchy red for inline variables */
    font-weight: bold;
    padding: 2px 4px;
}
