#gtb-app-container {
    position: fixed !important;
    top: 0 !important; left: 0 !important;
    width: 100vw !important; height: 100vh !important;
    background: #0f172a !important; color: #f8fafc !important;
    z-index: 9999999 !important; overflow: hidden !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    display: flex !important; flex-direction: column !important;
    margin: 0 !important; padding: 0 !important;
}

.gtb-screen {
    display: none !important;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
}

.gtb-screen.active {
    display: flex !important;
}

.gtb-header { height: 70px; background: #1e293b; display: flex; align-items: center; padding: 0 20px; border-bottom: 1px solid #334155; justify-content: space-between; flex-shrink: 0; }
.header-left { display: flex; align-items: center; gap: 15px; }
.tech-icon-round { width: 40px; height: 40px; background: #38bdf822; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #38bdf8; border: 1px solid #38bdf855; }
.tech-icon-round svg { width: 24px; height: 24px; animation: pulse-tech 3s infinite ease-in-out; }
@keyframes pulse-tech { 0% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 0.8; } }
.status-dot { width: 12px; height: 12px; border-radius: 50%; }
.status-dot.green { background: #22c55e; box-shadow: 0 0 10px #22c55e; }

/* Correction principale du scroll ici */
.gtb-content { 
    flex: 1; 
    overflow-y: auto !important; 
    padding: 15px; 
    -webkit-overflow-scrolling: touch; /* Scroll fluide sur mobile */
}

.card { background: #1e293b; border-radius: 12px; padding: 20px; margin-bottom: 15px; border: 1px solid #334155; text-align: center; }
.temp-display { font-size: 3rem; font-weight: bold; color: #38bdf8; margin: 10px 0; }
.setpoint { font-size: 1.5rem; font-weight: 600; color: #f59e0b; margin-top: 10px; }
.slider { -webkit-appearance: none; width: 100%; height: 8px; border-radius: 5px; background: #334155; outline: none; margin: 20px 0; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 25px; height: 25px; border-radius: 50%; background: #38bdf8; border: 3px solid #0f172a; }
.gtb-nav { height: 70px; background: #1e293b; display: flex; justify-content: space-around; align-items: center; border-top: 1px solid #334155; padding-bottom: env(safe-area-inset-bottom); flex-shrink: 0;}
.nav-item { background: none; border: none; font-size: 24px; color: #94a3b8; }
.nav-item.active { color: #38bdf8; }
.hidden { display: none !important; }

/* Corrections Lisibilité & Nouveaux éléments */
.check-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; text-align: left; }
.check-item label { color: #f8fafc !important; font-size: 1rem; cursor: pointer; }
.check-item input[type="checkbox"] { width: 22px; height: 22px; accent-color: #38bdf8; }
.btn-primary { width: 100%; padding: 12px; background: #f8fafc; color: #0f172a; border: none; border-radius: 8px; font-weight: bold; font-size: 1rem; cursor: pointer; margin-bottom: 20px;}
.btn-secondary { background: #334155; color: #f8fafc; border: none; padding: 10px 15px; border-radius: 8px; cursor: pointer; margin-right: 5px; font-size: 0.9rem; }
.btn-secondary.active { background: #38bdf8; color: #0f172a; font-weight: bold; }
select.gtb-select, input.gtb-input { width: 100%; padding: 12px; background: #0f172a; color: #f8fafc; border: 1px solid #334155; border-radius: 8px; margin-bottom: 15px; font-size: 1rem; }
