* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: #000; color: #00FF41; font-family: monospace; height: 100vh; overflow: hidden; }
.terminal-container { display: flex; flex-direction: column; height: 100vh; border: 2px solid #00FF41; padding: 10px; }
.terminal-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #00FF41; padding-bottom: 8px; margin-bottom: 10px; }
.blinking-cursor { animation: blink 1s infinite; }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.badge { border: 1px solid #00FF41; padding: 3px 8px; font-size: 0.85rem; background: rgba(0, 255, 65, 0.1); }
.workspace { display: flex; gap: 10px; flex: 1; overflow: hidden; }
.panel { display: flex; flex-direction: column; border: 1px solid #00FF41; padding: 10px; background: #050505; }
.left-panel { flex: 4; overflow-y: auto; }
.right-panel { flex: 6; overflow: hidden; }
.control-group label { display: block; margin-bottom: 5px; }
select { width: 100%; background: #000; color: #00FF41; border: 1px solid #00FF41; padding: 8px; font-family: inherit; outline: none; }
select option { background: #000; color: #00FF41; }
.section-box { border: 1px dashed #00FF41; padding: 10px; margin-bottom: 10px; }
.section-box h3 { font-size: 0.95rem; margin-bottom: 8px; border-bottom: 1px dashed #00FF41; padding-bottom: 4px; }
.difficulty-tag { display: inline-block; padding: 2px 6px; border: 1px solid #00FF41; font-size: 0.8rem; margin-bottom: 8px; }
.desc-content { font-size: 0.9rem; line-height: 1.4; white-space: pre-line; }
.schema-content { font-size: 0.8rem; line-height: 1.3; white-space: pre-wrap; max-height: 180px; overflow-y: auto; }
.editor-header, .results-header { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; margin-bottom: 5px; }
.editor-actions { display: flex; gap: 6px; }
.retro-btn { background: #000; color: #00FF41; border: 1px solid #00FF41; padding: 5px 10px; font-family: inherit; cursor: pointer; transition: 0.2s; }
.retro-btn:hover { background: #00FF41; color: #000; }
.retro-btn.primary { border-color: #00BFFF; color: #00BFFF; }
.retro-btn.primary:hover { background: #00BFFF; color: #000; }
.retro-btn.success { border-color: #00FF41; background: rgba(0, 255, 65, 0.15); font-weight: bold; }
.editor-container { flex: 1; margin-bottom: 10px; }
textarea { width: 100%; height: 100%; background: #000; color: #00FF41; border: 1px solid #00FF41; padding: 10px; font-family: monospace; resize: none; outline: none; }
.results-container { flex: 1; border: 1px solid #00FF41; background: #000; padding: 8px; overflow: auto; max-height: 250px; }
.placeholder-text { color: #007722; font-style: italic; }
table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
th, td { border: 1px solid #005515; padding: 6px 8px; text-align: left; }
th { background: #001a05; color: #00FF41; position: sticky; top: 0; }
.alert-box { padding: 10px; margin-bottom: 5px; border: 1px solid; font-weight: bold; }
.alert-box.pass { border-color: #00FF41; color: #00FF41; background: rgba(0, 255, 65, 0.1); }
.alert-box.fail { border-color: #FF3333; color: #FF3333; background: rgba(255, 51, 51, 0.1); }
.alert-box.error { border-color: #FFCC00; color: #FFCC00; background: rgba(255, 204, 0, 0.1); }