.embed-app {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: Arial, sans-serif;
}
.bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.panel-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 800px) {
  .panel-wrap { grid-template-columns: 1fr 1fr; }
}
.panel {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 8px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.panel h3 {
  margin: 0;
  font-size: 13px;
  color: #333;
}
textarea, #os-terminal {
  width: 100%;
  flex: 1;
  min-height: 220px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 6px;
  box-sizing: border-box;
  background: #fdfdfd;
  font-family: 'Fira Code','Courier New', monospace;
  font-size: 12px;
}
#os-terminal { overflow: auto; white-space: pre-wrap; }
.btn {
  padding: 6px 10px;
  font-size: 12px;
  border: 1px solid #c0c0c0;
  border-radius: 4px;
  background: #f7f7f7;
  cursor: pointer;
  height: 30px;
}
.btn.primary { background: #dceafe; border-color: #a5c8ff; }
.btn.danger { background: #ffe0e0; border-color: #f5a3a3; }
.info { font-size: 11px; color: #666; }
.status-line { font-size: 12px; color: #444; }
