body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

/* Status bar - TUI style */
.status-bar {
    display: flex;
    background: #f5f5f5;
    font-family: "Berkeley Mono", monospace;
    font-size: 13px;
    margin-bottom: 30px;
    overflow: hidden;
    border: 1px solid #ccc;
    height: 32px;
    align-items: center;
}

.status-item {
    padding: 0 12px;
    color: #333;
    white-space: nowrap;
    flex-shrink: 0;
}

.status-mode {
    background: #e5e5e5;
    color: #000;
    font-weight: bold;
    height: 100%;
    display: flex;
    align-items: center;
}

.status-branch {
    background: #eee;
    color: #666;
}

.status-home {
    background: #e5e5e5;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    height: 100%;
    display: flex;
    align-items: center;
}

.status-home:hover {
    background: #ddd;
    color: #000;
}

.status-path {
    background: #f5f5f5;
    color: #888;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
    text-decoration: none;
}

.status-path:hover {
    background: #eee;
    color: #555;
}

.status-spacer {
    flex: 1;
    background: #f5f5f5;
    min-width: 0;
}

.status-location {
    background: #eee;
    color: #666;
    height: 100%;
    display: flex;
    align-items: center;
}

.status-available {
    background: #eee;
    font-weight: bold;
    height: 100%;
    display: flex;
    align-items: center;
}

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

/* Status colors */
.status-dot.available {
    background: #22c55e;
}
.status-dot.offline {
    background: #ef4444;
}
.status-dot.away {
    background: #f97316;
}

.available,
.offline,
.away {
    color: #000;
}

.status-time {
    background: #e5e5e5;
    color: #000;
    font-weight: bold;
    font-variant-numeric: tabular-nums;
    height: 100%;
    display: flex;
    align-items: center;
}

h2 {
    font-size: 14px;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

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

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

/* List tables (Projects, Notes, Media) */
.list-table td:first-child,
.list-table th:first-child {
    width: 120px;
}

.list-table td:last-child,
.list-table th:last-child {
    width: 80px;
    text-align: right;
}

a {
    color: #1a4480;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 4px 10px;
    border: 1px solid #000;
    font-size: 12px;
}

.btn:hover {
    background: #f5f5f5;
    text-decoration: none;
}

/* Two-column layout for About section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.info-table,
.contact-table {
    width: 100%;
}

.info-table td:first-child,
.contact-table td:first-child {
    font-weight: normal;
    width: 40%;
}

/* Icon styling */
td svg {
    vertical-align: middle;
    margin-right: 4px;
}

/* Neural network icon animation */
.ai-ethics {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.brain-icon {
    --animation-speed: 2s;
    --highlight-color: #22c55e;
    vertical-align: middle;
}

.brain-icon .brain-path {
    fill: #ccc;
    animation: brain-pulse var(--animation-speed) ease-in-out infinite;
}

@keyframes brain-pulse {
    0%,
    100% {
        fill: #ccc;
    }
    50% {
        fill: var(--highlight-color);
    }
}

/* Entry pages (notes, projects, media) */
.entry {
    max-width: 700px;
}

.entry-header {
    margin-bottom: 40px;
}

.entry-header h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 8px 0;
}

.entry-header time {
    color: #666;
    font-size: 14px;
}

.entry-content {
    line-height: 1.8;
}

.entry-content h2 {
    font-size: 18px;
    margin-top: 40px;
    margin-bottom: 16px;
}

.entry-content p {
    margin: 0 0 20px 0;
}

.entry-content blockquote {
    margin: 20px 0;
    padding: 0 0 0 20px;
    border-left: 3px solid #ccc;
    color: #555;
}

.entry-content blockquote p {
    margin: 0;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 20px 0;
    padding-left: 24px;
}

.entry-content li {
    margin-bottom: 8px;
}

.entry-content code {
    font-family: "Berkeley Mono", monospace;
    background: #f5f5f5;
    padding: 2px 6px;
    font-size: 13px;
}

.entry-content pre {
    background: #f5f5f5;
    padding: 16px;
    overflow-x: auto;
    margin: 0 0 20px 0;
    border: 1px solid #ccc;
}

.entry-content pre code {
    background: none;
    padding: 0;
}

.entry-content figure {
    margin: 30px 0;
}

.entry-content figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #ccc;
}

.entry-content figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
    text-align: center;
}

.entry-footer {
    margin-top: 60px;
    display: flex;
    gap: 10px;
}

.site-footer {
    margin-top: 60px;
    display: flex;
    gap: 10px;
}

/* Global footer */
.global-footer {
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Berkeley Mono", monospace;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.global-footer a {
    color: #888;
}

.global-footer a:hover {
    color: #000;
}

.footer-badges {
    display: flex;
    gap: 8px;
}

.footer-badge {
    border: 1px solid #000;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: bold;
}

.footer-badge.env {
    background: #166534;
    color: #fff;
    border-color: #166534;
}

.footer-badge.env.staging {
    background: #ca8a04;
    border-color: #ca8a04;
}

.footer-badge.env.dev {
    background: #dc2626;
    border-color: #dc2626;
}

.footer-badge.env.prod {
    background: #2d6a4f;
    border-color: #2d6a4f;
}

.footer-badge.version {
    background: #fff;
    color: #000;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}
