@import url('https://fonts.googleapis.com/css2?family=Inter:wght=400;600;800&display=swap');
/* FORCE REDEPLOY VECTOR: MANUSCRIPT INTERFACE LIVE UPDATED */

/* ==========================================================================
   GLOBAL STRUCTURE & NEO-BRUTALIST UTILITIES
   ========================================================================== */
body { 
    background-color: #ffffff; 
    color: #000000; 
    font-family: 'Inter', sans-serif; 
    scroll-behavior: smooth; 
}

.amber-accent { 
    color: #FFBF00; 
} 

.card-pro { 
    background: #ffffff; 
    border: 1px solid #000000; 
    box-shadow: 4px 4px 0px #000000; 
    transition: all 0.2s ease; 
}

.card-pro:hover { 
    transform: translate(-2px, -2px); 
    box-shadow: 6px 6px 0px #FFBF00; 
}

.btn-obsidian { 
    background-color: #000000; 
    color: #ffffff; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
    transition: opacity 0.2s; 
}

.btn-obsidian:hover:not(:disabled) { 
    opacity: 0.85; 
}

.btn-amber { 
    background-color: #FFBF00; 
    color: #000000; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
    border: 1px solid #000000; 
}

.input-clean { 
    border: 1px solid #000000; 
    outline: none; 
    padding: 1rem; 
}

.hidden { 
    display: none; 
}

select { 
    cursor: pointer; 
    appearance: none; 
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); 
    background-repeat: no-repeat; 
    background-position: right 1rem center; 
    background-size: 1em; 
}

/* ==========================================================================
   DESKTOP CORE INTERFACE PRESETS
   ========================================================================== */
.mobile-bottom-nav {
    display: none;
}

/* ==========================================================================
   MOBILE INTEGRATED VIEWPORT LIFECYCLE (Under 640px Screen Width)
   ========================================================================== */
@media (max-width: 640px) {
    
    /* 1. REMOVE DUPLICATE TEXT MENUS FROM TOP NAVBAR */
    #left-nav-links, 
    #top-logout-btn {
        display: none !important;
    }

    /* 2. REPOSITION TOP ROW (Greeting on Left, Upgrade Button on Right) */
   #top-workspace-navigation {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding-left: 0px !important;  
        padding-right: 0px !important; 
    }

    #right-nav-links {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important; 
        align-items: center !important;
        gap: 0px !important;
    }

    #user-greeting {
        display: block !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }

    #top-upgrade-btn {
        display: block !important;
        margin-left: auto !important; 
        margin-right: 0px !important;
    }

    /* 3. FIX THE "WORKSPACE TITLE COLLISION" TRACKING BUG */
    #workspace-sub-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 0.75rem !important;
    }

    #workspace-sub-header .text-right {
        text-align: center !important;
    }

    #usageText {
        font-size: 16px !important;
        margin-top: 0.25rem !important;
        display: block !important;
    }

    /* 4. RENDER PERSISTENT STICKY MOBILE NAVIGATION DECK */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 64px !important;
        background-color: #ffffff !important;
        border-top: 2px solid #000000 !important;
        justify-content: space-around !important;
        align-items: center !important;
        z-index: 9999 !important;
        padding-bottom: env(safe-area-inset-bottom) !important;
    }

    .nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background: none !important;
        border: none !important;
        color: #000000 !important;
        font-family: 'Inter', sans-serif !important;
        font-size: 10px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        cursor: pointer !important;
        padding: 4px 0 !important;
        width: 25% !important;
        transition: color 0.15s ease !important;
    }

    .nav-icon {
        width: 20px !important;
        height: 20px !important;
        margin-bottom: 4px !important;
        transition: transform 0.15s ease !important;
    }

    .nav-item.active, 
    .nav-item:hover {
        color: #FFBF00 !important;
    }

    /* 5. DEFEND CONTAINER FROM THE BOTTOM NAV DECK MASK */
    body {
        padding-bottom: 100px !important;
    }
}

/* ==========================================================================
   PREMIUM ARCHITECTURAL IDENTITY BADGES (BLACK & AMBER GOLD)
   ========================================================================== */
.pro-status-badge, .plus-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #000000; /* Obsidian Black Canvas */
    color: #FFBF00;            /* TextReader Signature Amber Gold */
    border: 1px solid #FFBF00; /* Crisp Amber Gold Border */
    font-family: 'Times New Roman', Times, serif; /* Clean, Consistent Heading Serif */
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 4px;
    box-shadow: 2px 2px 0px #000000; /* Neo-brutalist depth styling */
    user-select: none;
    transition: all 0.3s ease;
}

/* Elite Highlight Shift for the Higher 499 Tier Plan Allocation */
.plus-status-badge {
    color: #ffffff;            /* High Contrast White Accent Text */
    border: 1.5px solid #FFBF00; 
    background: linear-gradient(135deg, #000000 0%, #15120a 100%);
    box-shadow: 3px 3px 0px #FFBF00; /* Amber Brutalist Drop Block shadow */
}

/* Flexible header anchor block sitting cleanly above the main workspace wrapper */
#premiumBadgeContainer {
    width: 100%;
    display: flex;
    justify-content: flex-start; /* Snaps perfectly to the left side above workspace */
    margin-bottom: 0.75rem;
    padding-right: 0.25rem;
}