:root { 
    --accent-teal: #14b8a6; 
    --bg-color: #151515; 
    --card-bg: linear-gradient(145deg, #1c1c1c, #161616);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-dim: #94a3b8;
    --nav-bg: rgba(22, 22, 22, 0.9);
    --sheet-bg: #1a1a1a;
    --input-bg: rgba(255, 255, 255, 0.05);
}

body { 
    user-select: none; 
    background-color: var(--bg-color); 
    color: var(--text-main);
    padding: calc(env(safe-area-inset-top) + 20px) 20px calc(env(safe-area-inset-bottom) + 100px);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.logo-text { font-size: 60px; font-weight: 900; font-style: italic; letter-spacing: -3px; text-align: center; margin-bottom: 30px; }

.card-main { 
    background: var(--card-bg); 
    border: 1px solid var(--card-border); 
    border-radius: 2rem; 
    padding: 20px;
    margin-bottom: 16px;
}

.status-badge {
    font-size: 9px; padding: 2px 8px; border-radius: 6px; 
    background: rgba(20, 184, 166, 0.2); color: var(--accent-teal); 
    font-weight: 800; text-transform: uppercase;
}
.status-offline { background: rgba(244, 63, 94, 0.2); color: #f43f5e; }

.btn-lumex {
    background: var(--accent-teal);
    color: white;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    font-size: 11px;
    padding: 16px;
    border-radius: 1.5rem;
    width: 100%;
    border: none;
    box-shadow: 0 10px 20px -5px rgba(20, 184, 166, 0.3);
}

.bottom-sheet {
    position: fixed; bottom: -100%; left: 0; right: 0; 
    background: var(--sheet-bg); border-top: 1px solid var(--card-border);
    z-index: 1000; transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3rem 3rem 0 0; padding: 2rem;
    max-height: 80vh; overflow-y: auto;
}
.bottom-sheet.open { bottom: 0; }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 900; display: none; backdrop-filter: blur(8px); }
.overlay.open { display: block; }

.console-output {
    background: #000; color: var(--accent-teal); 
    padding: 15px; border-radius: 1rem; font-family: monospace; 
    font-size: 11px; margin-top: 15px; border: 1px solid var(--card-border);
}
