/* Minimal Digital Garden Styles */

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 2em;
    margin-bottom: 1em;
    line-height: 1.3;
}

h1 {
    font-size: 2em;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0.5em;
}

h2 {
    font-size: 1.6em;
}

h3 {
    font-size: 1.3em;
}

p {
    margin-bottom: 1em;
}

ul,
ol {
    margin-bottom: 1em;
}

li {
    margin-bottom: 0.5em;
}

a {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
}

a:hover {
    border-bottom-color: #0066cc;
}

blockquote {
    border-left: 3px solid #ccc;
    padding-left: 1em;
    margin-left: 0;
    font-style: italic;
    color: #666;
}

code {
    background: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: "Monaco", "Courier New", monospace;
    font-size: 0.9em;
}

pre {
    background: #f5f5f5;
    padding: 1em;
    border-radius: 3px;
    overflow-x: auto;
    margin: 1em 0;
}

pre code {
    background: none;
    padding: 0;
}

hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 2em 0;
}

/* Table styles */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
}

th,
td {
    border: 1px solid #ccc;
    padding: 0.5em;
    text-align: left;
}

th {
    background: #f5f5f5;
    font-weight: bold;
}

/* Post meta info */
.post-meta {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 2em;
    font-style: italic;
}

/* Status-driven Garden */
.status-section {
    margin-bottom: 2em;
}

.status-title {
    font-size: 1.2em;
    margin-bottom: 0.5em;
    color: #333;
}

.status-description {
    color: #666;
    font-style: italic;
    margin-bottom: 1em;
    font-size: 0.9em;
}

.status-list {
    list-style: none;
    margin-left: 0;
}

.status-list li {
    margin-bottom: 0.5em;
    padding-left: 1em;
}

.status-list a {
    text-decoration: none;
    color: #0066cc;
}

.status-list a:hover {
    text-decoration: underline;
}

/* Garden overview */
.garden-stats {
    background: #f5f5f5;
    padding: 1em;
    border-radius: 3px;
    margin-bottom: 2em;
    font-size: 0.9em;
}

.garden-stats ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.garden-stats li {
    margin-bottom: 0.3em;
}

/* Page status indicator */
.page-status {
    margin: 1em 0;
}

.page-status .status {
    display: inline-block;
    padding: 0.3em 0.8em;
    border-radius: 3px;
    font-size: 0.9em;
    font-weight: 500;
}

.page-status .status.evergreen {
    background: #e8f5e8;
    color: #2d5a2d;
    border: 1px solid #4caf50;
}

.page-status .status.growing {
    background: #fff3e0;
    color: #ef6c00;
    border: 1px solid #ff9800;
}

.page-status .status.seed {
    background: #f3e5f5;
    color: #7b1fa2;
    border: 1px solid #9c27b0;
}

/* Evolution section */
.evolution {
    margin: 2em 0;
    padding: 1em;
    background: #f9f9f9;
    border-left: 3px solid #ccc;
}

.evolution h2 {
    margin-top: 0;
    font-size: 1.4em;
}

.evolution ul {
    margin-left: 1em;
    margin-bottom: 0;
}

.evolution li {
    margin-bottom: 0.8em;
    line-height: 1.4;
}

.evolution strong {
    font-weight: 600;
}

.evolution em {
    color: #666;
    font-style: italic;
}

/* Temporal Garden timeline */
.timeline {
    margin: 2em 0;
}

.timeline h2 {
    font-size: 1.4em;
}

.timeline ul {
    margin-left: 1em;
}

.timeline li {
    margin-bottom: 1em;
    line-height: 1.5;
}

.timeline strong {
    font-weight: 600;
}

.timeline em {
    color: #666;
    font-style: italic;
}

/* Table of Contents */
#markdown-toc {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1.2em 2.5em;
    margin: 1em 0;
    font-size: 0.9em;
    max-width: 300px;
}

#markdown-toc ul {
    margin: 0.5em 0;
    padding-left: 1.5em;
}

#markdown-toc li {
    margin: 0.4em 0;
    line-height: 1.4;
}

#markdown-toc ul ul {
    padding-left: 1.8em;
    margin: 0.3em 0;
}

#markdown-toc a {
    text-decoration: none;
    color: #0066cc;
    border-bottom: none;
}

#markdown-toc a:hover {
    text-decoration: underline;
}

#markdown-toc > ul > li:first-child {
    font-weight: 600;
    color: #333;
    margin-top: 0;
}

/* File info */
.file-info {
    margin-top: 3em;
    padding: 1em;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 4px solid #6c757d;
    border-radius: 3px;
    font-size: 0.9em;
    color: #6c757d;
}

.file-info small {
    font-family: "Monaco", "Courier New", monospace;
    opacity: 0.8;
}

/* Small screens */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 1.6em;
    }

    h2 {
        font-size: 1.3em;
    }

    h3 {
        font-size: 1.1em;
    }

    #markdown-toc {
        max-width: 100%;
    }
}
