/* RESET & FOUNDATION */
* { box-sizing: border-box; }

body {
    background-color: #fdfdfd !important; /* Force background */
    color: #1d1d1f;
    font-family: 'Inter', -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* NAVIGATION */
.nav-bar {
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    z-index: 1000;
}

.back-link {
    font-family: 'Space Mono', monospace;
    text-decoration: none;
    color: #ff3b30;
    font-weight: bold;
    font-size: 0.8rem;
}

/* HEADER */
.lab-header {
    padding: 5rem 2rem;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
    background: #ffffff;
}

.system-meta {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #a1a1a6;
    margin-bottom: 2rem;
}

.signature-quote {
    max-width: 600px;
    margin: 1rem auto;
    font-style: italic;
    color: #6e6e73;
}

/* WORKSPACE */
.lab-workspace {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.signal-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.priority-item, .lane {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #f2f2f2;
    cursor: pointer;
    transition: all 0.2s ease;
}

.priority-item:hover, .lane:hover {
    border-color: #ff3b30;
    transform: translateY(-5px);
}

.num {
    font-family: 'Space Mono', monospace;
    color: #ff3b30;
    font-weight: bold;
}

/* LOGIC LANES */
.logic-lanes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.lane h3 {
    font-size: 1rem;
    text-transform: uppercase;
    border-bottom: 1px solid #000;
    padding-bottom: 0.5rem;
}

/* VIEW MANAGEMENT */
.view { display: block; }
.hidden { display: none !important; }

.detail-view {
    text-align: center;
    padding: 5rem 1rem;
}

.lab-footer {
    padding: 4rem;
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    opacity: 0.4;
}
/* DIAGNOSTIC STYLING */
.diagnostic-container {
    background: #fff;
    border: 2px solid var(--accent);
    padding: 2rem;
    margin-top: 2rem;
    text-align: left;
    box-shadow: 10px 10px 0px #eee;
}

.diagnostic-header {
    font-family: var(--mono);
    font-weight: bold;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.filter-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.step {
    background: #fdfdfd;
    padding: 1.5rem;
    border-left: 4px solid var(--signal);
}

.step-label {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: #888;
    display: block;
    margin-bottom: 0.5rem;
}

.action-result {
    margin-top: 1rem;
    font-weight: bold;
    font-size: 0.8rem;
    color: var(--signal);
}

.diagnostic-outcome {
    margin-top: 3rem;
    padding: 2rem;
    background: #1d1d1f;
    color: #fff;
    border-radius: 4px;
}

/* FOOTER UPDATES */
.footer-links a {
    color: var(--text);
    text-decoration: none;
    font-family: var(--mono);
    font-size: 0.8rem;
    margin: 0 10px;
}

.footer-links a:hover {
    color: var(--signal);
}

.footer-meta {
    margin-top: 2rem;
}

/* PROFILE PHOTO STYLING */
.profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%; /* Perfect circle */
    border: 3px solid var(--accent);
    margin: 2rem auto;
    display: block;
    object-fit: cover; /* Ensures the photo doesn't stretch */
    filter: grayscale(100%); /* Fits the clean, logic-first vibe */
    transition: filter 0.5s ease, transform 0.3s ease;
}

.profile-photo:hover {
    filter: grayscale(0%); /* Brings the 'Human' into color on hover */
    transform: scale(1.05); /* Slight pop for interactivity */
}