/* Table Layout Setup */
.type-table-wrapper {
    width: 100%;
    overflow-x: hidden;
    margin: 30px 0;
}

.enneagram-table {
    width: 100%;
    table-layout: fixed !important;
    border-collapse: collapse;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
}

/* Base Cell Styling */
.enneagram-table th, 
.enneagram-table td {
    text-align: left !important;
    vertical-align: top !important;
    padding: 10px 8px;
    border: 1px solid var(--border-grey, #e0e0e0);
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.enneagram-table th {
    background-color: #DBDEA3;
    color: #4A4D1A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.8rem;
    font-weight: 800;
}

/* --- DESKTOP STYLES (Screens wider than 600px) --- */
@media screen and (min-width: 601px) {
    .desktop-only {
        display: inline !important;
    }

    .enneagram-table th:nth-child(1),
    .enneagram-table td:nth-child(1) {
        width: 70px !important; 
        white-space: nowrap !important;
        font-weight: bold;
    }

    .enneagram-table th:nth-child(2),
    .enneagram-table td:nth-child(2) {
        width: 150px !important;
    }

    .enneagram-table th:nth-child(3),
    .enneagram-table td:nth-child(3) {
        width: auto !important;
    }
}

/* --- MOBILE STYLES (Screens 600px and narrower) --- */
@media screen and (max-width: 600px) {
    .desktop-only {
        display: none !important; /* Hides " — Core Drive" on mobile */
    }

    .enneagram-table {
        font-size: 0.82rem;
    }

    .enneagram-table th, 
    .enneagram-table td {
        padding: 8px 4px !important; /* Tight padding to save horizontal space */
    }

    /* Column 1: Locked to 52px */
    .enneagram-table th:nth-child(1),
    .enneagram-table td:nth-child(1) {
        width: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
        white-space: nowrap !important;
        font-weight: bold;
        font-size: 0.8rem;
    }

    /* Column 2: Locked to 88px */
    .enneagram-table th:nth-child(2),
    .enneagram-table td:nth-child(2) {
        width: 88px !important;
        min-width: 88px !important;
        max-width: 88px !important;
        white-space: normal !important;
    }

    /* Column 3: Fills all remaining width on screen */
    .enneagram-table th:nth-child(3),
    .enneagram-table td:nth-child(3) {
        width: auto !important;
    }
}

.enneagram-table tr:nth-child(even) {
    background-color: #fdfdfd;
}

.enneagram-table tr:hover {
    background-color: #f4f4f4;
}





/* --- PAGE TITLES --- */
.audit-header {
    text-align: center;
    border-bottom: 1px solid var(--gladiator-gold);
    padding-bottom: 20px;
    margin-bottom: 40px;
}


.audit-header h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.4rem;
    color: var(--sovereign-gold);
    margin-bottom: 10px;
    margin-top: 70px;

}

.audit-header h2 {
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.9rem;
    color: var(--sovereign-gold);
    margin-bottom: 10px;
}

.audit-header h1 {
    font-size: 2.2rem;
    margin: 0;
    color: var(--deep-black);
    text-transform: uppercase;
}

