/* 
   GRO PRIMAL // BIOLOGICAL OPERATING SYSTEM INTERFACE
   ---------------------------------------------------
   Locked Design System Rules:
   - Calm, systematic, restrained, dark, modular.
   - 3-Layer Visual Rule (Base, Structure, Signal).
   - Near-black background, System Green default UI, Amber interaction only.
*/

:root {
    /* Color System */
    --bg-base: #0B0F0D;
    /* Near-black / deep charcoal */
    --bg-panel: #0E1111;
    /* Slightly lighter for panel depth if needed, but mostly avoid */

    --sys-green: #00FF66;
    /* Primary Interface Green - DEFAULT STATE */
    --sys-green-dim: rgba(0, 255, 102, 0.3);
    /* For structure lines */
    --sys-green-faint: rgba(0, 255, 102, 0.1);
    /* For panel backgrounds if absolutely necessary */
    --sys-green-ambient: rgba(0, 255, 102, 0.18);
    /* Shared ambient green shade for structure components */

    --sys-amber: #FFB347;
    /* Hover / Interaction Color ONLY */

    --text-neutral: #E0E4E2;
    /* Soft white / light gray */
    --text-muted: #8A928D;

    /* Typography */
    --font-term: 'JetBrains Mono', 'VT323', Courier, monospace;
    --font-body: 'Inter', sans-serif;
    /* For extended readability if needed, though spec leans heavily terminal */
}

/* =========================================
   LAYER 1: BASE (GLOBAL RESET & OVERLAY)
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-base);
    color: var(--text-neutral);
    font-family: var(--font-term);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    position: relative;
    /* Ensuring the document takes full height for the sticky footer/bottom band later */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
    /* Prevent horizontal "leakage" without breaking sticky */
}

html {
    overflow-x: clip;
    /* Force lockdown without breaking sticky */
}

/* Global Overlay: Subtle CRT / Scanline / RGB Phosphor Mask */
body::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    /* 
      Horizontal scanlines every 2px.
      Vertical RGB subpixel pattern every 3px.
      Must be very low opacity so it is "felt more than noticed"
    */
    background:
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 2px, 3px 100%;
    z-index: 9999;
    pointer-events: none;
    /* Crucial: clicks pass through */
}

/* Typography Base */
h1,
h2,
h3,
h4,
.sys-label {
    font-family: var(--font-term);
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: 0.05em;
    color: var(--sys-green);
}

p {
    font-family: var(--font-body);
    /* Using inter for actual reading blocks to keep it clean */
    font-size: 1rem;
    color: var(--text-neutral);
}

a {
    color: var(--sys-green);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--sys-amber);
}

/* =========================================
   LAYER 2: STRUCTURE (BORDERS & LAYOUT)
   ========================================= */
/* Thin borders, dividers, restrained, dimmer than active signals */
.sys-panel {
    border: 1px solid var(--sys-green-dim);
    padding: 2rem;
}

.sys-divider {
    height: 1px;
    background-color: var(--sys-green-dim);
    width: 100%;
    margin: 2rem 0;
}

/* Terminal Box Container (Standard framing for data/images) */
.term-box {
    border: 1px solid var(--sys-green-faint);
    /* Very faint default */
    background: transparent;
    position: relative;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}


.term-box::after {
    content: "[DISPLAY_ACTIVE]";
    position: absolute;
    bottom: -10px;
    right: 10px;
    background: var(--bg-base);
    padding: 0 5px;
    font-size: 0.6rem;
    color: var(--sys-green-dim);
}

.term-box-header {
    border: 1px solid var(--sys-green-dim);
    margin: -1rem -1rem 1rem -1rem;
    padding: 0.2rem 1rem;
    background: var(--sys-green-faint);
    color: var(--sys-green);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
}

/* =========================================
   LAYER 3: SIGNAL (BUTTONS & STATES)
   ========================================= */

/* Signal Element: Blinking Terminal Cursor */
.cursor-blink {
    animation: blink 1s step-end infinite;
    display: inline-block;
    width: 10px;
    height: 1em;
    background-color: var(--sys-green);
    vertical-align: text-bottom;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Signal Element: Static Green Dot (Header/Footer Status) - User requested pulse removal */
.status-dot {
    color: var(--sys-green);
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    line-height: 1;
}

/* Button Class 1: Navigation Controls (No pulse, green default, amber fill hover) */
.nav-control {
    background: transparent;
    border: none;
    color: var(--sys-green);
    font-family: var(--font-term);
    /* FLUID TYPOGRAPHY: Scales between 0.7rem (mobile limit) and 1.2rem (desktop max) based on window width */
    font-size: clamp(0.7rem, 1.5vw, 1.2rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.1s;
    white-space: nowrap;
}

.nav-control:hover {
    color: var(--bg-base);
    /* Text turns dark */
    background-color: var(--sys-amber);
    /* Box fills with AMBER per user request */
}

/* Button Class 2: Action Controls (Pulse idle, amber on hover, stop pulse) */
.action-control {
    background: transparent;
    border: 1px solid var(--sys-green);
    color: var(--sys-green);
    font-family: var(--font-term);
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    /* Calm slow idle heartbeat pulse */
    animation: pulse-border 2.5s infinite ease-in-out;
}

@keyframes pulse-border {
    0% {
        border-color: var(--sys-green);
        box-shadow: 0 0 0 transparent;
    }

    50% {
        border-color: rgba(0, 255, 102, 0.4);
        box-shadow: 0 0 8px rgba(0, 255, 102, 0.1);
    }

    100% {
        border-color: var(--sys-green);
        box-shadow: 0 0 0 transparent;
    }
}

/* On hover, pulse stops, changes to amber fill */
.action-control:hover {
    animation: none;
    /* stop pulse */
    border-color: var(--sys-amber);
    background-color: var(--sys-amber);
    /* Box fills with amber */
    color: var(--bg-base);
    /* Text turns dark */
}

/* =========================================
   LOCKED SECTION 1: STICKY HEADER
   ========================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-base);
    /* Solid bg so content scrolls behind it cleanly */
    border-bottom: 1px solid rgba(0, 255, 102, 0.15);
    /* Dimmed border */
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Allow the flex container to shrink its gap dynamically */
    gap: 1rem;
}

.header-left,
.header-center,
.header-right {
    flex: 1;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* The new logo image styling */
.logo-img-nav {
    height: 30px;
    width: auto;
}

.header-center {
    text-align: center;
    color: var(--sys-green);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* FLUID TYPOGRAPHY */
    font-size: clamp(0.7rem, 1.5vw, 1.2rem);
    white-space: nowrap;
}

.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    /* Reduced from 2rem so it doesn't break as fast */
}

/* Dropdown styling for MODULES */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-base);
    min-width: 160px;
    border: 1px solid var(--sys-green-dim);
    border-top: none;
    z-index: 1;
    right: 0;
    top: 100%;
}

.dropdown-content a {
    color: var(--sys-green);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    /* FLUID TYPOGRAPHY */
    font-size: clamp(0.7rem, 1.5vw, 1.2rem);
    font-family: var(--font-term);
    letter-spacing: 0.1em;
}

.dropdown-content a:hover {
    background-color: var(--sys-amber);
    /* Amber Fill */
    color: var(--bg-base);
    /* Dark text */
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Header Adjustments - If the screen gets extremely small, stack it to maintain OS legibility */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: center;
        /* Ensure all children are centered in the column */
        padding: 1.5rem 1rem;
        gap: 1rem;
        text-align: center;
    }

    .header-left,
    .header-center,
    .header-right {
        width: 100%;
        /* Force full width for centering */
        flex: none;
    }

    .header-center {
        margin: 0.5rem 0;
        order: 2;
        /* Move status below logo */
    }

    .header-left {
        order: 1;
        /* Logo on top */
        display: flex;
        justify-content: center;
    }

    .header-right {
        order: 3;
        /* Navigation links at bottom */
        justify-content: center;
        flex-wrap: wrap;
        /* Allow MODULES and CART to wrap if 320px is TOO narrow */
        gap: 1rem;
    }
}

/* =========================================
   LOCKED SECTION 2: HERO
   ========================================= */
.hero {
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background-color: rgba(0, 255, 102, 0.15);
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-visual {
    flex: 0 1 450px;
    display: flex;
    justify-content: center;
    align-items: start;
    /* Prevent term-box from stretching vertically */
}

.hero-visual img {
    width: 100%;
    height: auto;
    mix-blend-mode: lighten;
}

/* Removed hero-logo-img as per user request */

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--sys-green);
    font-weight: 700;
}

.hero h2 {
    font-size: 1.8rem;
    color: var(--sys-green);
    margin-bottom: 1rem;
    letter-spacing: 0.06em;
}

.h2-break {
    display: inline;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-neutral);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    max-width: 600px;
    margin-top: 3rem;
}

.pipe-sep {
    color: var(--sys-green);
    font-family: var(--font-term);
    font-weight: 700;
    margin: 0 0.15em;
}

/* =========================================
   LOCKED SECTION 3: SYSTEM MODULES
   ========================================= */
.system-modules {
    padding: 4rem 2rem;
    border-bottom: 1px solid rgba(0, 255, 102, 0.15);
    /* Dimmed border */
}

/* Mobile adjust for Hero */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
        padding: 4rem 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 1.4rem;
        letter-spacing: 0.02em;
    }

    .hero p {
        margin: 2rem auto 0;
        font-size: 1.1rem;
    }
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.module-card {
    border: 1px solid var(--sys-green-dim);
    /* Structure Layer */
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.module-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    /* Centered as per user request */
}

.module-card p {
    color: #ffffff;
    /* Restricted white text-lift */
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.4);
    margin-bottom: 2rem;
    flex-grow: 1;
    /* Pushes the status/button to the bottom */
    text-align: center;
    /* Centered as per user request */
}

.module-status-line {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: var(--font-term);
    text-transform: uppercase;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
    /* Keep left oriented as per user request */
    min-height: 2.5rem;
    /* Ensure 1-line statuses (SYSTEM READY) take up as much vertical space as 2-line statuses */
}

.status-label {
    flex: 0 0 85px;
    /* Fixed width to ensure values align under each other */
    color: var(--text-muted);
}

.status-value {
    color: var(--sys-green);
    flex: 1;
}

/* Mobile Stacking for Modules */
@media (max-width: 900px) {
    .module-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   LOCKED SECTION 4: FEATURED MANUAL ENTRY
   ========================================= */
.manual-entry {
    padding: 6rem 2rem;
    /* Border removed to prevent doubling with the marquee rails below */
}

.manual-grid-fix {
    display: grid;
    /* By default it inherits .module-grid (repeat(3, 1fr)) */
    /* We just need to place it in the center visually */
}

.manual-grid-fix .module-card {
    grid-column: 2;
}

@media (max-width: 900px) {
    .manual-grid-fix .module-card {
        grid-column: 1;
    }
}

/* Ensure the manual card content matches the product modules exactly */
.manual-entry .module-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.manual-entry .module-card p {
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* =========================================
   LOCKED SECTION 5: BOTTOM RESULTS BAND
   ========================================= */
.results-band-container {
    width: 100%;
    /* Single flush borders top and bottom */
    border-top: 1px solid var(--sys-green-dim);
    border-bottom: 1px solid var(--sys-green-dim);
    overflow: hidden;
    position: relative;
    /* Clean 300px height */
    height: 300px;
    background-color: var(--bg-base);
}

.results-track {
    display: flex;
    width: max-content;
    height: 100%;
    margin: 0;
    /* Slow continuous horizontal scroll (Slightly slower) */
    animation: scroll-band 45s linear infinite;
}

.results-track img {
    height: 100%;
    /* Responsive tile dimensions */
    width: 400px;
    max-width: 80vw;
    /* On tiny phones, make tiles smaller so they don't force overflow */
    object-fit: cover;
    display: block;
}

@keyframes scroll-band {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Scrolls exactly half its width (which is duplicated) */
}

/* =========================================
   LOCKED SECTION 6: FOOTER
   ========================================= */
.site-footer {
    /* Top border removed - now controlled by the results-band rails above */
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    /* Quieter than header */
    margin-top: auto;
    /* Pushes to bottom if content is short */
}

.footer-left,
.footer-right {
    flex: 1;
}

.footer-left {
    color: var(--sys-green-dim);
}


.footer-right {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer-right a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-right a:hover {
    color: var(--sys-amber);
}

/* ULTIMATE MOBILE REFINEMENT (< 480px) */
@media (max-width: 480px) {

    .hero {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .system-modules,
    .manual-entry,
    .site-header,
    .site-footer {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.2rem;
        letter-spacing: 0.02em;
    }

    .hero p {
        font-size: 1rem;
        margin-top: 2rem;
    }

    .module-card {
        padding: 1.5rem;
        /* Tighter cards for more room */
    }

    .module-card h3 {
        font-size: 1.8rem;
        /* Scaled up to hit right margin better */
        margin-bottom: 0.75rem;
    }

    .module-card p {
        font-size: 1.1rem;
        /* Scaled up tagline */
        margin-bottom: 1.5rem;
    }

    .status-value {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .results-band-container {
        height: 200px;
        /* Shorten the band on mobile to look more proportional */
    }

    /* Scaling the footer to stay on one line even at 320px */
    .site-footer {
        font-size: 0.65rem;
        /* Tighter footer for small devices */
    }

    .footer-right {
        gap: 0.75rem;
        /* Reduce gap between links */
    }

    .footer-center {
        letter-spacing: 0.05em;
        /* Slightly tighter status letter-spacing */
    }
}

/* Specific 320px safety lock */
@media (max-width: 375px) {
    .h2-break {
        display: block;
    }

    .site-footer {
        font-size: 0.55rem;
        /* Ultimate shrink for the smallest devices */
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .footer-right {
        gap: 0.3rem;
    }

    .footer-left,
    .footer-right {
        flex: 1;
        white-space: nowrap;
    }
}

/* =========================================
   LOCKED SECTION 6: INNER PAGES
   ========================================= */
.inner-page-main {
    min-height: calc(100vh - 200px);
}

.page-hero {
    padding: 6rem 2rem 4rem;
    position: relative;
    border-bottom: 1px solid rgba(0, 255, 102, 0.15);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background-color: rgba(0, 255, 102, 0.15);
}

.page-hero-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: 3rem;
    color: var(--sys-green);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.page-status-line {
    display: flex;
    gap: 0.5rem;
    font-family: var(--font-term);
    font-size: 0.8rem;
    color: var(--sys-green-faint);
}

.inner-content-container {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* WordPress Standard Content Formatting for OS Aesthetic */
.entry-content {
    color: var(--text-neutral);
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 300;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--sys-green);
    font-family: var(--font-term);
    margin-top: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content a {
    color: var(--sys-amber);
    text-decoration: none;
    border-bottom: 1px dashed var(--sys-amber);
    transition: all 0.2s ease;
}

.entry-content a:hover {
    color: var(--bg-base);
    background-color: var(--sys-amber);
}

/* Fallback Archive (Index) Styles */
.entry-content article {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px dashed var(--sys-green-faint);
}

.entry-content article:last-child {
    border-bottom: none;
}

.entry-content article h2 a {
    color: var(--sys-green);
    border-bottom: none;
}

.entry-content article h2 a:hover {
    background-color: transparent;
    color: var(--sys-amber);
}

/* =========================================
   LOCKED SECTION 7: WORDPRESS MENU RESETS
   ========================================= */
.dropdown-content li,
.dropdown-content ul,
.footer-right li,
.footer-right ul,
.menu li,
.menu ul,
.nav-menu li,
.nav-menu ul {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dropdown-content .menu-item::before,
.footer-right .menu-item::before {
    content: none !important;
    display: none !important;
}

/* Header Logo Hover Effect */
.header-left a {
    transition: all 0.2s ease;
    padding: 0.25rem 0.5rem;
    margin-left: -0.5rem;
}

.header-left a:hover {
    color: var(--bg-base) !important;
    background-color: var(--sys-amber);
}

/* =========================================
   LOCKED SECTION 8: DIAGNOSTIC PAGE
   ========================================= */
/* Hero Overrides */
.page-specific-hero {
    border-bottom: 1px solid rgba(0, 255, 102, 0.15);
}

.hero-title-stacked {
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: var(--sys-green);
    font-family: var(--font-term);
    text-transform: uppercase;
}

.hero-support-line {
    font-family: var(--font-body);
    font-size: 1.4rem;
    /* Slightly stronger presence */
    font-weight: 500;
    /* Stronger structural mass */
    color: rgba(255, 255, 255, 0.85);
    /* Neutral white/light gray */
    line-height: 1.5;
    max-width: 440px;
    /* Tighter composed block constraint */
    text-wrap: balance;
    /* Prevents awkward lone words, resolving composition cleanly */
    margin-top: 2rem;
    /* Clean vertical resolution down from title */
}

.hero-support-line .pipe-sep {
    color: var(--sys-green);
    margin: 0 0.5rem;
}

.structure-hero-img {
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    /* Match the exact square silhouette proportion */
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0.95;
    border-radius: 2px;
}

/* Diagnostic Section */
.diagnostic-section {
    max-width: 1400px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.diagnostic-intro {
    font-family: var(--font-term);
    font-size: 0.9rem;
    /* Increased to match visual weight of system diagnostic */
    letter-spacing: 0.1em;
    /* Matches system_diagnostic */
    color: #ffffff;
    /* Restricted white text-lift effect applied */
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.4);
    /* Restricted text-lift */
    text-align: center;
    margin: 0 auto 1.5rem auto;
    text-transform: uppercase;
    max-width: 1100px;
    /* Removed opacity restriction to perfectly match table header luminance */
}

/* THE DIAGNOSTIC CONSOLE CONTAINER */
.diagnostic-table-console {
    max-width: 1100px;
    /* EXACTLY the same scaling rules as hero terms, just bigger */
    margin: 0 auto;
    background: var(--bg-base);
    border: 1px solid var(--sys-green-dim);
    position: relative;
    padding-top: 0;
    /* Let content push flush */
}

.term-strip-label {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    /* Stretch completely across real bounding box */
    width: calc(100% + 2px);
    background: var(--sys-green-ambient) !important;
    color: var(--sys-green);
    font-family: var(--font-term);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding: 0.4rem 10px;
    border: 1px solid var(--sys-green-dim);
    text-transform: uppercase;
    z-index: 10;
}

.table-scroll-wrapper {
    overflow-x: auto;
    padding-top: 2rem;
    /* Give breathing room below the attached green strip */
}

.diagnostic-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-term);
    font-size: 0.9rem;
    text-align: left;
    min-width: 900px;
    /* Keep tabular scrolling intact for mobiles */
}

/* Restrained text-only white luminance lift for headers */
.diagnostic-table th {
    color: #ffffff;
    /* Restricted white text-lift */
    font-size: 1.05rem;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    font-weight: normal;
    text-transform: uppercase;
    border-bottom: 1px solid var(--sys-green-dim);
    border-right: 1px solid var(--sys-green-dim);
    /* Same thin green system language throughout grid */
    padding: 1.25rem 1rem;
}

.diagnostic-table td {
    color: var(--text-neutral);
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--sys-green-dim);
    border-right: 1px solid var(--sys-green-dim);
}

.diagnostic-table th:last-child,
.diagnostic-table td:last-child {
    border-right: none;
    /* Keep right edge flush against terminal box */
}

.diagnostic-table tr:last-child td {
    border-bottom: none;
    /* Keep bottom edge flush against terminal box */
}

.diagnostic-table .col-upgrade {
    /* Background tint removed to restore native table fill */
    color: var(--sys-green);
    /* Shifted signal to the text */
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.4);
}

/* Human Translation Section */
.human-translation-section {
    max-width: 1400px;
    margin: 6rem auto 4rem auto;
    padding: 0 2rem;
}

.translation-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    /* Clean edge boundaries */
}

.translation-title {
    font-family: var(--font-term);
    color: var(--sys-green);
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.translation-support {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-neutral);
    margin-bottom: 3rem;
}

.translation-support .pipe-sep {
    color: var(--sys-green);
    margin: 0 0.5rem;
}

/* Clean indented nesting */
.translation-bullets {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-left: 2rem;
    /* Direct indentation rule from user request */
}

.bullet-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.bullet-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* Space between pipe marker and text */
}

.bullet-header .pipe-sep {
    color: var(--sys-green);
    font-family: var(--font-term);
}

.bullet-header strong {
    color: #ffffff;
    /* Restricted white text-lift */
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: normal;
    /* Normalized to match the crisp thinness of th headers */
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.4);
    /* Same lift rule as headers */
    letter-spacing: 0.02em;
}

.bullet-desc {
    font-family: var(--font-body);
    color: var(--text-neutral);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 0 1.25rem;
    /* Indents text underneath the header, past the pipe marker */
}