:root {
    --bg-color: #0e1014;
    --text-color: #e6edf3;
    --accent: #1a324b;
    --border: #1a324b;
    --dim-text: #8b949e;
    --font-mono: 'JetBrains Mono', monospace;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-mono);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.lab-container {
    width: 90%;
    max-width: 650px;
}

.status-box {
    background: #161b22;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.terminal-header {
    background: #0d1117;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.terminal-title {
    font-size: 0.8rem;
    color: var(--dim-text);
    margin-left: 12px;
}

.terminal-body {
    padding: 25px 20px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.cursor {
    color: var(--accent);
    font-weight: bold;
    margin-right: 8px;
}

.invention-block {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
    background-color: rgba(255, 255, 255, 0.02);
}

.project-name {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

.status-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.maturity-label {
    color: var(--dim-text);
    font-size: 0.8rem;
}

.percentage {
    font-weight: bold;
}

.percentage.high {
    color: var(--text-color);
}

.percentage.low {
    color: var(--text-color);
}

.description {
    font-size: 0.8rem;
    color: var(--dim-text);
    margin: 8px 0 0 0;
    border-top: 1px dashed var(--border);
    padding-top: 8px;
}

.pub-link {
    font-size: 0.75rem;
    color: var(--accent);
    text-decoration: none;
    border: 1px solid var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
    transition: 0.2s;
}

.pub-link:hover {
    background: var(--accent);
    color: white;
}

.info {
    color: var(--dim-text);
    font-weight: bold;
    margin-top: 25px;
}

.nav-footer {
    text-align: center;
    margin-bottom: 10px;
}

.back-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    border: 1px solid var(--accent);
    padding: 10px 25px;
    border-radius: 6px;
    transition: 0.3s;
}

.back-link:hover {
    background: var(--accent);
    color: #fff;
}

.loading-dots::after {
    content: '';
    display: inline-block;
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%,
    20% {
        content: '';
    }
    40% {
        content: '.';
    }
    60% {
        content: '..';
    }
    80%,
    100% {
        content: '...';
    }
}

.lab-header {
    margin-top: 40px;
    text-align: center;
    margin-bottom: 50px;
}

.title {
    color: #fff;
    font-size: 3rem;
    margin: 0;
    letter-spacing: -2px;
    font-weight: 800;
}