* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; }
[x-cloak] { display: none !important; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #1f2937; }
::-webkit-scrollbar-thumb { background: #4b5563; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #6b7280; }

.bg-gray-750 { background-color: #2d3748; }
.hover\:bg-gray-750:hover { background-color: #2d3748; }

.xterm { height: 100%; padding: 8px; }
.xterm-viewport { scrollbar-width: thin; }
.xterm-screen { width: 100% !important; }

canvas { max-height: 200px; }

@media (max-width: 768px) {
    .sidebar-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 40; }
}

.fade-in { animation: fadeIn 0.2s ease-in; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

input[type="checkbox"] { appearance: none; width: 16px; height: 16px; border: 1px solid #4b5563; border-radius: 4px; background: #374151; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
input[type="checkbox"]:checked { background: #059669; border-color: #059669; }
input[type="checkbox"]:checked::after { content: "✓"; color: white; font-size: 12px; font-weight: bold; }
