/* Minimalist monospace styling for week pages */

body {
    background-color: #F5F5F5 !important;
    color: #333333 !important;
    font-family: 'Courier New', 'Consolas', 'Monaco', 'Roboto Mono', monospace !important;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Headings */
h1 {
    font-size: 2em !important;
    font-weight: bold !important;
    color: #000000 !important;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 1.5em !important;
    font-weight: bold !important;
    color: #000000 !important;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5em !important;
    font-weight: bold !important;
    color: #000000 !important;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Body text */
p {
    font-size: 1em !important;
    color: #333333 !important;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Lists */
ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

li {
    font-size: 1em !important;
    color: #333333 !important;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Links */
a {
    color: #333333 !important;
    text-decoration: underline;
}

a:hover {
    color: #000000 !important;
}

/* Sections */
section {
    margin-bottom: 3rem;
}

section[style*="color: white"] {
    color: #333333 !important;
}

section[style*="background-color"] {
    background-color: transparent !important;
}

/* Images */
img {
    max-height: 95vh;
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 2rem auto;
}

/* Video */
video {
    max-height: 80vh;
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    margin: 2rem auto;
    object-fit: contain;
}

/* Horizontal rules */
hr {
    border: none;
    border-top: 1px solid #CCCCCC;
    margin: 3rem 0;
}

/* Override inline styles */
section[style*="text-align: center"] {
    text-align: center !important;
}

/* Canvas container - keep dark background for 3D viewer */
.canvas-container {
    background: #141313 !important;
}

/* Feature sections - keep dark styling for overlay */
.feature-content {
    background: rgba(20, 19, 19, 0.8) !important;
    color: white !important;
}

.feature-content h2 {
    color: #ffffff !important;
}

.feature-content p {
    color: #cccccc !important;
}

/* Responsive */
@media (max-width: 768px) {
    main {
        padding: 2rem 1rem;
    }
    
    h1 {
        font-size: 1.8em !important;
    }
    
    h2, h3 {
        font-size: 1.3em !important;
    }
}

/* -------- Code window (IDE-like) -------- */
.code-window {
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    margin: 1.5rem 0;
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #2a2a2a;
    border-bottom: 1px solid #202020;
    font-family: Menlo, Consolas, Monaco, 'Roboto Mono', monospace;
    color: #c7c7c7;
    font-size: 0.85rem;
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.code-dot.red { background: #ff5f56; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #27c93f; }

.code-body {
    position: relative;
}

.code-body pre {
    margin: 0;
    padding: 16px 18px;
    overflow: auto;
    font-family: Menlo, Consolas, Monaco, 'Roboto Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #d4d4d4;
    background: #1e1e1e;
    tab-size: 4;
    -moz-tab-size: 4;
}

/* Simple token colors (lightweight, no JS) */
.code-body code .kw { color: #c586c0; }      /* keywords */
.code-body code .fn { color: #dcdcaa; }      /* function names */
.code-body code .st { color: #ce9178; }      /* strings */
.code-body code .cm { color: #6a9955; }      /* comments */
.code-body code .nu { color: #b5cea8; }      /* numbers */

